/third_party/python/Parser/ |
H A D | peg_api.c | 6 mod_ty 14 mod_ty result = _PyPegen_run_parser_from_string(str, mode, filename, flags, arena); in _PyParser_ASTFromString() 18 mod_ty
|
H A D | pegen.h | 325 mod_ty _PyPegen_make_module(Parser *, asdl_stmt_seq *); 334 mod_ty _PyPegen_run_parser_from_file_pointer(FILE *, int, PyObject *, const char *, 337 mod_ty _PyPegen_run_parser_from_string(const char *, int, PyObject *, PyCompilerFlags *, PyArena *);
|
H A D | pegen.c | 879 mod_ty 901 mod_ty result = NULL; in _PyPegen_run_parser_from_file_pointer() 918 mod_ty 941 mod_ty result = NULL; in _PyPegen_run_parser_from_string()
|
H A D | action_helpers.c | 982 mod_ty
|
H A D | parser.c | 559 static mod_ty file_rule(Parser *p); 560 static mod_ty interactive_rule(Parser *p); 561 static mod_ty eval_rule(Parser *p); 562 static mod_ty func_type_rule(Parser *p); 1040 static mod_ty 1051 mod_ty _res = NULL; in file_rule() 1087 static mod_ty 1098 mod_ty _res = NULL; in interactive_rule() 1131 static mod_ty 1142 mod_ty _re in eval_rule() [all...] |
/third_party/python/Tools/peg_generator/peg_extension/ |
H A D | peg_extension.c | 6 _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/ |
H A D | pycore_ast.h | 15 typedef struct _mod *mod_ty; typedef 57 mod_ty typed_elements[1]; 635 mod_ty _PyAST_Module(asdl_stmt_seq * body, asdl_type_ignore_seq * type_ignores, 637 mod_ty _PyAST_Interactive(asdl_stmt_seq * body, PyArena *arena); 638 mod_ty _PyAST_Expression(expr_ty body, PyArena *arena); 639 mod_ty _PyAST_FunctionType(asdl_expr_seq * argtypes, expr_ty returns, PyArena 849 PyObject* PyAST_mod2obj(mod_ty t); 850 mod_ty PyAST_obj2mod(PyObject* ast, PyArena* arena, int mode); 853 extern int _PyAST_Validate(mod_ty);
|
/third_party/python/Python/ |
H A D | future.c | 57 future_parse(PyFutureFeatures *ff, mod_ty mod, PyObject *filename) in future_parse() 119 _PyFuture_FromAST(mod_ty mod, PyObject *filename) in _PyFuture_FromAST()
|
H A D | pythonrun.c | 47 static PyObject *run_mod(mod_ty, PyObject *, PyObject *, PyObject *, 190 mod_ty mod; in PyRun_InteractiveOneObjectEx() 1593 mod_ty mod; in PyRun_StringFlags() 1620 mod_ty mod; in pyrun_file() 1722 run_mod(mod_ty mod, PyObject *filename, PyObject *globals, PyObject *locals, in run_mod() 1788 mod_ty mod; in Py_CompileStringObject()
|
H A D | ast_opt.c | 628 static int astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state); 683 astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) in astfold_mod() 1079 _PyAST_Optimize(mod_ty mod, PyArena *arena, _PyASTOptimizeState *state) in _PyAST_Optimize()
|
H A D | Python-ast.c | 362 GENERATE_ASDL_SEQ_CONSTRUCTOR(mod, mod_ty) 1860 static int obj2ast_mod(struct ast_state *state, PyObject* obj, mod_ty* out, 1897 mod_ty 1901 mod_ty p; in _PyAST_Module() 1902 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Module() 1911 mod_ty 1914 mod_ty p; in _PyAST_Interactive() 1915 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_Interactive() 1923 mod_ty 1926 mod_ty in _PyAST_Expression() [all...] |
H A D | traceback.c | 688 mod_ty module = _PyParser_ASTFromString(segment_str, filename, Py_file_input, in extract_anchors_from_line()
|
H A D | symtable.c | 275 _PySymtable_Build(mod_ty mod, PyObject *filename, PyFutureFeatures *future) in _PySymtable_Build() 2138 mod_ty mod; in _Py_SymtableStringObjectFlags()
|
H A D | ast.c | 990 _PyAST_Validate(mod_ty mod) in _PyAST_Validate()
|
H A D | bltinmodule.c | 810 mod_ty mod; in builtin_compile_impl()
|
H A D | compile.c | 15 * (mod_ty) has cases for expressions and interactive statements. 404 static PyCodeObject *compiler_mod(struct compiler *, mod_ty); 541 _PyAST_Compile(mod_ty mod, PyObject *filename, PyCompilerFlags *flags, in _PyAST_Compile() 2181 compiler_mod(struct compiler *c, mod_ty mod) in compiler_mod()
|