Module Exprs
Import path
import semmle.python.ExprsClasses
| Annotation | An annotation, such as the |
| AssignExpr | An assignment expression, such as |
| Attribute | An attribute expression, such as |
| AugLoad | The context of an augmented load. This is an artifact of the Python grammar which includes an AugLoad context, even though it is never used. |
| AugStore | The augmented store context, the context of var in var += 1 |
| Await | An await expression such as |
| BooleanLiteral | A boolean named constant, either |
| Bytes | A bytes constant, such as |
| Call | A call expression, such as |
| Del | The delete context, the context of var in del var |
| Dict | A dictionary expression, such as |
| Ellipsis | An ellipsis expression, such as |
| Expr | An expression |
| ExprContext | A context in which an expression used |
| False | The boolean named constant |
| Filter | |
| FloatLiteral | A floating point numeric constant, such as |
| FormattedValue | A formatted value (within a formatted string literal). For example, in the string |
| Fstring | A formatted string literal expression, such as |
| Guard | A guard in a case statement |
| IfExp | A conditional expression such as, |
| ImaginaryLiteral | An imaginary numeric constant, such as |
| ImmutableLiteral | An immutable literal expression (except tuples). Consists of string (both unicode and byte) literals and numeric literals. |
| IntegerLiteral | An integer numeric constant, such as |
| List | A list expression, such as |
| Load | The load context, the context of var in len(var) |
| Name | A (plain variable) name expression, such as |
| NameConstant | A named constant, one of |
| NegativeIntegerLiteral | |
| None | The |
| Num | A numerical constant expression, such as |
| Param | The parameter context, the context of var in def f(var): pass |
| PlaceHolder | |
| Repr | A repr (backticks) expression, such as |
| Set | A set expression such as |
| Slice | A slice. E.g |
| Starred | A starred expression, such as the |
| Store | The store context, the context of var in var = 0 |
| StringLiteral | A string constant. |
| Subscript | A subscript expression, such as |
| True | The boolean named constant |
| Tuple | A tuple expression such as |
| Unicode | A unicode string expression, such as |
| Yield | A yield expression, such as |
| YieldFrom | A yield expression, such as |