• Home
  • Raw
  • Download

Lines Matching refs:expr

8         | Expression(expr body)
9 | FunctionType(expr* argtypes, expr returns)
12 stmt* body, expr* decorator_list, expr? returns,
15 stmt* body, expr* decorator_list, expr? returns,
19 expr* bases,
22 expr* decorator_list)
23 | Return(expr? value)
25 | Delete(expr* targets)
26 | Assign(expr* targets, expr value, string? type_comment)
27 | AugAssign(expr target, operator op, expr value)
29 | AnnAssign(expr target, expr annotation, expr? value, int simple)
32 | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)
33 | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)
34 | While(expr test, stmt* body, stmt* orelse)
35 | If(expr test, stmt* body, stmt* orelse)
39 | Match(expr subject, match_case* cases)
41 | Raise(expr? exc, expr? cause)
43 | Assert(expr test, expr? msg)
50 | Expr(expr value)
57 expr = BoolOp(boolop op, expr* values)
58 | NamedExpr(expr target, expr value)
59 | BinOp(expr left, operator op, expr right)
60 | UnaryOp(unaryop op, expr operand)
61 | Lambda(arguments args, expr body)
62 | IfExp(expr test, expr body, expr orelse)
63 | Dict(expr* keys, expr* values)
64 | Set(expr* elts)
65 | ListComp(expr elt, comprehension* generators)
66 | SetComp(expr elt, comprehension* generators)
67 | DictComp(expr key, expr value, comprehension* generators)
68 | GeneratorExp(expr elt, comprehension* generators)
70 | Await(expr value)
71 | Yield(expr? value)
72 | YieldFrom(expr value)
75 | Compare(expr left, cmpop* ops, expr* comparators)
76 | Call(expr func, expr* args, keyword* keywords)
77 | FormattedValue(expr value, int conversion, expr? format_spec)
78 | JoinedStr(expr* values)
82 | Attribute(expr value, identifier attr, expr_context ctx)
83 | Subscript(expr value, expr slice, expr_context ctx)
84 | Starred(expr value, expr_context ctx)
86 | List(expr* elts, expr_context ctx)
87 | Tuple(expr* elts, expr_context ctx)
90 | Slice(expr? lower, expr? upper, expr? step)
106 comprehension = (expr target, expr iter, expr* ifs, int is_async)
108 excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)
112 expr* kw_defaults, arg? kwarg, expr* defaults)
114 arg = (identifier arg, expr? annotation, string? type_comment)
118 keyword = (identifier? arg, expr value)
125 withitem = (expr context_expr, expr? optional_vars)
127 match_case = (pattern pattern, expr? guard, stmt* body)
129 pattern = MatchValue(expr value)
132 | MatchMapping(expr* keys, pattern* patterns, identifier? rest)
133 | MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)