ReadNodeReferenceExpr class
An AST expression that reads the value of a NodeReference.
When visited it behaves as a ReadVarExpr or ReadClassMemberExpr depending on the visibility of the NodeReference.
- Inheritance
-
- Object
- Expression
- ReadVarExpr
- ReadNodeReferenceExpr
Constructors
Properties
- builtin ↔ BuiltinVar?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
getter/setter pairinherited
- node → NodeReference
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → OutputType?
-
finalinherited
Methods
-
and(
Expression rhs) → BinaryOperatorExpr -
inherited
-
bigger(
Expression rhs) → BinaryOperatorExpr -
inherited
-
biggerEquals(
Expression rhs) → BinaryOperatorExpr -
inherited
-
callFn(
List< Expression> params, {List<NamedExpr> namedParams = const [], List<OutputType> typeArguments = const []}) → InvokeFunctionExpr -
inherited
-
callMethod(
dynamic name, List< Expression> params, {bool checked = false, List<NamedExpr> namedParams = const []}) → InvokeMethodExpr -
Calls a method on an expression result.
inherited
-
cast(
OutputType type) → Expression -
inherited
-
conditional(
Expression trueCase, Expression falseCase) → ConditionalExpr -
inherited
-
divide(
Expression rhs) → BinaryOperatorExpr -
inherited
-
equals(
Expression rhs) → BinaryOperatorExpr -
inherited
-
identical(
Expression rhs) → BinaryOperatorExpr -
inherited
-
ifNull(
Expression nullCase) → IfNullExpr -
inherited
-
instantiate(
List< Expression> params, {List<NamedExpr> namedParams = const [], OutputType? type, List<OutputType> ? genericTypes}) → InstantiateExpr -
inherited
-
isBlank(
) → Expression -
inherited
-
key(
Expression index, [OutputType? type]) → ReadKeyExpr -
inherited
-
lower(
Expression rhs) → BinaryOperatorExpr -
inherited
-
lowerEquals(
Expression rhs) → BinaryOperatorExpr -
inherited
-
minus(
Expression rhs) → BinaryOperatorExpr -
inherited
-
modulo(
Expression rhs) → BinaryOperatorExpr -
inherited
-
multiply(
Expression rhs) → BinaryOperatorExpr -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
Expression rhs) → BinaryOperatorExpr -
inherited
-
notIdentical(
Expression rhs) → BinaryOperatorExpr -
inherited
-
notNull(
) → NotNullExpr -
inherited
-
or(
Expression rhs) → BinaryOperatorExpr -
inherited
-
plus(
Expression rhs) → BinaryOperatorExpr -
inherited
-
prop(
String name, {bool checked = false}) → ReadPropExpr -
inherited
-
set(
Expression value) → WriteVarExpr -
inherited
-
spread(
) → SpreadExpr -
inherited
-
toStmt(
) → Statement -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitExpression<
R, C> (ExpressionVisitor< R, C> visitor, C context) → R -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited