/external/python/cpython2/Include/ |
D | Python-ast.h | 12 Param=6 } expr_context_ty; typedef 286 expr_context_ty ctx; 292 expr_context_ty ctx; 297 expr_context_ty ctx; 302 expr_context_ty ctx; 307 expr_context_ty ctx; 497 expr_ty _Py_Attribute(expr_ty value, identifier attr, expr_context_ty ctx, int 500 expr_ty _Py_Subscript(expr_ty value, slice_ty slice, expr_context_ty ctx, int 503 expr_ty _Py_Name(identifier id, expr_context_ty ctx, int lineno, int 506 expr_ty _Py_List(asdl_seq * elts, expr_context_ty ctx, int lineno, int [all …]
|
/external/python/cpython3/Include/ |
D | Python-ast.h | 20 typedef enum _expr_context { Load=1, Store=2, Del=3 } expr_context_ty; typedef 341 expr_context_ty ctx; 347 expr_context_ty ctx; 352 expr_context_ty ctx; 357 expr_context_ty ctx; 362 expr_context_ty ctx; 367 expr_context_ty ctx; 633 expr_ty _Py_Attribute(expr_ty value, identifier attr, expr_context_ty ctx, int 637 expr_ty _Py_Subscript(expr_ty value, expr_ty slice, expr_context_ty ctx, int 641 expr_ty _Py_Starred(expr_ty value, expr_context_ty ctx, int lineno, int [all …]
|
/external/python/cpython3/Parser/pegen/ |
D | pegen.c | 1517 _set_seq_context(Parser *p, asdl_seq *seq, expr_context_ty ctx) in _set_seq_context() 1536 _set_name_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_name_context() 1542 _set_tuple_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_tuple_context() 1548 _set_list_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_list_context() 1554 _set_subscript_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_subscript_context() 1560 _set_attribute_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_attribute_context() 1566 _set_starred_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_starred_context() 1573 _PyPegen_set_expr_context(Parser *p, expr_ty expr, expr_context_ty ctx) in _PyPegen_set_expr_context()
|
D | pegen.h | 245 expr_ty _PyPegen_set_expr_context(Parser *, expr_ty, expr_context_ty);
|
/external/python/cpython2/Python/ |
D | compile.c | 159 static int compiler_nameop(struct compiler *, identifier, expr_context_ty); 167 expr_context_ty); 2315 compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx) in compiler_nameop() 3213 expr_context_ty ctx) in compiler_handle_subscr() 3241 compiler_slice(struct compiler *c, slice_ty s, expr_context_ty ctx) in compiler_slice() 3270 compiler_simple_slice(struct compiler *c, slice_ty s, expr_context_ty ctx) in compiler_simple_slice() 3322 expr_context_ty ctx) in compiler_visit_nested_slice() 3343 compiler_visit_slice(struct compiler *c, slice_ty s, expr_context_ty ctx) in compiler_visit_slice()
|
D | Python-ast.c | 276 static PyObject* ast2obj_expr_context(expr_context_ty); 972 static int obj2ast_expr_context(PyObject* obj, expr_context_ty* out, PyArena* 1853 Attribute(expr_ty value, identifier attr, expr_context_ty ctx, int lineno, int in Attribute() 1885 Subscript(expr_ty value, slice_ty slice, expr_context_ty ctx, int lineno, int in Subscript() 1917 Name(identifier id, expr_context_ty ctx, int lineno, int col_offset, PyArena in Name() 1943 List(asdl_seq * elts, expr_context_ty ctx, int lineno, int col_offset, PyArena in List() 1964 Tuple(asdl_seq * elts, expr_context_ty ctx, int lineno, int col_offset, PyArena in Tuple() 2932 PyObject* ast2obj_expr_context(expr_context_ty o) in ast2obj_expr_context() 5680 expr_context_ty ctx; in obj2ast_expr() 5729 expr_context_ty ctx; in obj2ast_expr() [all …]
|
D | ast.c | 31 expr_context_ty); 370 set_context(struct compiling *c, expr_ty e, expr_context_ty ctx, const node *n) in set_context() 2306 ast_for_exprlist(struct compiling *c, const node *n, expr_context_ty context) in ast_for_exprlist()
|
/external/python/cpython3/Python/ |
D | ast.c | 19 static int validate_exprs(asdl_seq *, expr_context_ty, int); 22 static int validate_expr(expr_ty, expr_context_ty); 84 expr_context_name(expr_context_ty ctx) in expr_context_name() 178 validate_expr(expr_ty exp, expr_context_ty ctx) in validate_expr() 181 expr_context_ty actual_ctx; in validate_expr() 337 validate_assignlist(asdl_seq *targets, expr_context_ty ctx) in validate_assignlist() 511 validate_exprs(asdl_seq *exprs, expr_context_ty ctx, int null_ok) in validate_exprs() 571 expr_context_ty); 1116 set_context(struct compiling *c, expr_ty e, expr_context_ty ctx, const node *n) in set_context() 3362 ast_for_exprlist(struct compiling *c, const node *n, expr_context_ty context) in ast_for_exprlist()
|
D | Python-ast.c | 803 static PyObject* ast2obj_expr_context(astmodulestate *state, expr_context_ty); 1888 expr_context_ty* out, PyArena* arena); 3026 Attribute(expr_ty value, identifier attr, expr_context_ty ctx, int lineno, int in Attribute() 3060 Subscript(expr_ty value, expr_ty slice, expr_context_ty ctx, int lineno, int in Subscript() 3094 Starred(expr_ty value, expr_context_ty ctx, int lineno, int col_offset, int in Starred() 3122 Name(identifier id, expr_context_ty ctx, int lineno, int col_offset, int in Name() 3150 List(asdl_seq * elts, expr_context_ty ctx, int lineno, int col_offset, int in List() 3173 Tuple(asdl_seq * elts, expr_context_ty ctx, int lineno, int col_offset, int in Tuple() 4412 PyObject* ast2obj_expr_context(astmodulestate *state, expr_context_ty o) in ast2obj_expr_context() 8158 expr_context_ty ctx; in obj2ast_expr() [all …]
|
D | ast_opt.c | 348 expr_context_ty ctx = arg->v.List.ctx; in fold_iter()
|
D | compile.c | 189 static int compiler_nameop(struct compiler *, identifier, expr_context_ty); 2155 forbidden_name(struct compiler *c, identifier name, expr_context_ty ctx) in forbidden_name() 3553 compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx) in compiler_nameop() 5371 expr_context_ty ctx = e->v.Subscript.ctx; in compiler_subscript()
|