Home
last modified time | relevance | path

Searched refs:mod_ty (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Parser/
Dpeg_api.c6 mod_ty
14 mod_ty result = _PyPegen_run_parser_from_string(str, mode, filename, flags, arena); in _PyParser_ASTFromString()
18 mod_ty
Dpegen.h252 mod_ty _PyPegen_run_parser_from_file_pointer(FILE *, int, PyObject *, const char *,
255 mod_ty _PyPegen_run_parser_from_string(const char *, int, PyObject *, PyCompilerFlags *, PyArena *);
296 mod_ty _PyPegen_make_module(Parser *, asdl_stmt_seq *);
Dpegen.c1415 mod_ty
1437 mod_ty result = NULL; in _PyPegen_run_parser_from_file_pointer()
1454 mod_ty
1477 mod_ty result = NULL; in _PyPegen_run_parser_from_string()
2459 mod_ty
Dparser.c504 static mod_ty file_rule(Parser *p);
505 static mod_ty interactive_rule(Parser *p);
506 static mod_ty eval_rule(Parser *p);
507 static mod_ty func_type_rule(Parser *p);
934 static mod_ty
945 mod_ty _res = NULL; in file_rule()
981 static mod_ty
992 mod_ty _res = NULL; in interactive_rule()
1025 static mod_ty
1036 mod_ty _res = NULL; in eval_rule()
[all …]
/third_party/python/Tools/peg_generator/peg_extension/
Dpeg_extension.c6 _build_return_object(mod_ty module, int mode, PyObject *filename_ob, PyArena *arena) in _build_return_object()
54 mod_ty res = _PyPegen_run_parser_from_file_pointer( in parse_file()
96 mod_ty res = _PyPegen_run_parser_from_string(the_string, Py_file_input, filename_ob, in parse_string()
/third_party/python/Include/internal/
Dpycore_ast.h15 typedef struct _mod *mod_ty; typedef
57 mod_ty typed_elements[1];
628 mod_ty _PyAST_Module(asdl_stmt_seq * body, asdl_type_ignore_seq * type_ignores,
630 mod_ty _PyAST_Interactive(asdl_stmt_seq * body, PyArena *arena);
631 mod_ty _PyAST_Expression(expr_ty body, PyArena *arena);
632 mod_ty _PyAST_FunctionType(asdl_expr_seq * argtypes, expr_ty returns, PyArena
838 PyObject* PyAST_mod2obj(mod_ty t);
839 mod_ty PyAST_obj2mod(PyObject* ast, PyArena* arena, int mode);
842 extern int _PyAST_Validate(mod_ty);
/third_party/python/Python/
Dfuture.c57 future_parse(PyFutureFeatures *ff, mod_ty mod, PyObject *filename) in future_parse()
119 _PyFuture_FromAST(mod_ty mod, PyObject *filename) in _PyFuture_FromAST()
Dpythonrun.c58 static PyObject *run_mod(mod_ty, PyObject *, PyObject *, PyObject *,
200 mod_ty mod; in PyRun_InteractiveOneObjectEx()
1168 mod_ty mod; in PyRun_StringFlags()
1198 mod_ty mod; in pyrun_file()
1299 run_mod(mod_ty mod, PyObject *filename, PyObject *globals, PyObject *locals, in run_mod()
1365 mod_ty mod; in Py_CompileStringObject()
Dast_opt.c404 static int astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
468 astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) in astfold_mod()
859 _PyAST_Optimize(mod_ty mod, PyArena *arena, _PyASTOptimizeState *state) in _PyAST_Optimize()
DPython-ast.c360 GENERATE_ASDL_SEQ_CONSTRUCTOR(mod, mod_ty)
1845 static int obj2ast_mod(struct ast_state *state, PyObject* obj, mod_ty* out,
1882 mod_ty
1886 mod_ty p; in _PyAST_Module()
1887 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Module()
1896 mod_ty
1899 mod_ty p; in _PyAST_Interactive()
1900 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Interactive()
1908 mod_ty
1911 mod_ty p; in _PyAST_Expression()
[all …]
Dsymtable.c282 _PySymtable_Build(mod_ty mod, PyObject *filename, PyFutureFeatures *future) in _PySymtable_Build()
2139 mod_ty mod; in _Py_SymtableStringObjectFlags()
Dast.c922 _PyAST_Validate(mod_ty mod) in _PyAST_Validate()
Dbltinmodule.c819 mod_ty mod; in builtin_compile_impl()
Dcompile.c271 static PyCodeObject *compiler_mod(struct compiler *, mod_ty);
403 _PyAST_Compile(mod_ty mod, PyObject *filename, PyCompilerFlags *flags, in _PyAST_Compile()
1937 compiler_mod(struct compiler *c, mod_ty mod) in compiler_mod()
/third_party/python/Grammar/
Dpython.gram31 file[mod_ty]: a=[statements] ENDMARKER { _PyPegen_make_module(p, a) }
32 interactive[mod_ty]: a=statement_newline { _PyAST_Interactive(a, p->arena) }
33 eval[mod_ty]: a=expressions NEWLINE* ENDMARKER { _PyAST_Expression(a, p->arena) }
34 func_type[mod_ty]: '(' a=[type_expressions] ')' '->' b=expression NEWLINE* ENDMARKER { _PyAST_Funct…
/third_party/python/Misc/NEWS.d/
D3.10.0a7.rst981 a AST object (``mod_ty`` type) with the public C API. The function was
/third_party/python/Doc/whatsnew/
D3.10.rst2249 AST object (``mod_ty`` type) with the public C API. The function was already