v1/src/compiler/expression_parser/ast
library
Classes
-
AST
-
An abstraction representing a component of a parsed Dart expression.
-
AstTransformer
-
-
AstVisitor<R, C>
-
-
ASTWithSource
-
Wraps an AST with source and location information.
-
Binary
-
Represents a binary expression, i.e.
left operator right.
-
BindingPipe
-
A method call that has been interpreted as a specialized "pipe" invocation.
-
Conditional
-
A ternary or where condition will either pick
trueExpr or falseExpr.
-
EmptyExpr
-
A placeholder expression used when otherwise no expression is parsed/found.
-
FunctionCall
-
Similar to MethodCall, but target is callable.
-
IfNull
-
Represents the "if null" (
??) operator.
-
ImplicitReceiver
-
The "root" expression (the context in which the expression is evaluated).
-
Interpolation
-
Represents converting a result or multiple results explicitly to a String.
-
KeyedRead
-
Similar to PropertyRead, but uses bracket operator
[] to refer to key.
-
KeyedWrite
-
Similar to PropertyWrite using bracket operator
[]= to refer to key.
-
LiteralPrimitive
-
Represents a primitive value (either
number, String, bool, or null).
-
MethodCall
-
A call to a method.
-
NamedExpr
-
Represents a "named" expression, i.e. in the format of
name: expression.
-
PostfixNotNull
-
Coerces
T? to T, throwing if null, i.e. var!.
-
PrefixNot
-
A unary prefixed "not" expression, i.e.
!expr.
-
PropertyRead
-
Reads a property (getter or field) name from receiver.
-
PropertyWrite
-
Writes a property (setter or field) name to receiver.
-
RecursiveAstVisitor<C>
-
-
SafeMethodCall
-
Similar to MethodCall, but only if the receiver is non-null.
-
SafePropertyRead
-
Similar to PropertyRead, but avoids NPEs by using
?. instead of ..
-
StaticRead
-
A reference to a "static" variable or identifier represented by id.
-
VariableRead
-
A reference to a local variable name.