Searched refs:expr_context_ty (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Include/internal/ |
D | pycore_ast.h | 21 typedef enum _expr_context { Load=1, Store=2, Del=3 } expr_context_ty; typedef 447 expr_context_ty ctx; 453 expr_context_ty ctx; 458 expr_context_ty ctx; 463 expr_context_ty ctx; 468 expr_context_ty ctx; 473 expr_context_ty ctx; 766 expr_ty _PyAST_Attribute(expr_ty value, identifier attr, expr_context_ty ctx, 769 expr_ty _PyAST_Subscript(expr_ty value, expr_ty slice, expr_context_ty ctx, int 772 expr_ty _PyAST_Starred(expr_ty value, expr_context_ty ctx, int lineno, int [all …]
|
/third_party/python/Python/ |
D | ast.c | 18 static int validate_exprs(struct validator *, asdl_expr_seq *, expr_context_ty, int); 22 static int validate_expr(struct validator *, expr_ty, expr_context_ty); 85 expr_context_name(expr_context_ty ctx) in expr_context_name() 184 validate_expr(struct validator *state, expr_ty exp, expr_context_ty ctx) in validate_expr() 193 expr_context_ty actual_ctx; in validate_expr() 662 validate_assignlist(struct validator *state, asdl_expr_seq *targets, expr_context_ty ctx) in validate_assignlist() 885 validate_exprs(struct validator *state, asdl_expr_seq *exprs, expr_context_ty ctx, int null_ok) in validate_exprs()
|
D | Python-ast.c | 629 static PyObject* ast2obj_expr_context(struct ast_state *state, expr_context_ty); 1852 expr_context_ty* out, PyArena* arena); 3032 _PyAST_Attribute(expr_ty value, identifier attr, expr_context_ty ctx, int in _PyAST_Attribute() 3067 _PyAST_Subscript(expr_ty value, expr_ty slice, expr_context_ty ctx, int lineno, in _PyAST_Subscript() 3102 _PyAST_Starred(expr_ty value, expr_context_ty ctx, int lineno, int col_offset, in _PyAST_Starred() 3130 _PyAST_Name(identifier id, expr_context_ty ctx, int lineno, int col_offset, int in _PyAST_Name() 3158 _PyAST_List(asdl_expr_seq * elts, expr_context_ty ctx, int lineno, int in _PyAST_List() 3181 _PyAST_Tuple(asdl_expr_seq * elts, expr_context_ty ctx, int lineno, int in _PyAST_Tuple() 4648 PyObject* ast2obj_expr_context(struct ast_state *state, expr_context_ty o) in ast2obj_expr_context() 9166 expr_context_ty ctx; in obj2ast_expr() [all …]
|
D | ast_opt.c | 363 expr_context_ty ctx = arg->v.List.ctx; in fold_iter()
|
D | compile.c | 269 static int compiler_nameop(struct compiler *, identifier, expr_context_ty); 2264 forbidden_name(struct compiler *c, identifier name, expr_context_ty ctx) in forbidden_name() 3679 compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx) in compiler_nameop() 5591 expr_context_ty ctx = e->v.Subscript.ctx; in compiler_subscript()
|
/third_party/python/Parser/ |
D | pegen.c | 1746 _set_seq_context(Parser *p, asdl_expr_seq *seq, expr_context_ty ctx) in _set_seq_context() 1765 _set_name_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_name_context() 1771 _set_tuple_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_tuple_context() 1780 _set_list_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_list_context() 1789 _set_subscript_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_subscript_context() 1796 _set_attribute_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_attribute_context() 1803 _set_starred_context(Parser *p, expr_ty e, expr_context_ty ctx) in _set_starred_context() 1811 _PyPegen_set_expr_context(Parser *p, expr_ty expr, expr_context_ty ctx) in _PyPegen_set_expr_context()
|
D | pegen.h | 268 expr_ty _PyPegen_set_expr_context(Parser *, expr_ty, expr_context_ty);
|