ASTExpressionVariableDirectOperation class
ASTExpression to directly apply a change to a variable.
- Operators examples:
++
and--
- Inheritance
-
- Object
- ASTExpression
- ASTExpressionVariableDirectOperation
Constructors
- ASTExpressionVariableDirectOperation(ASTVariable variable, ASTAssignmentOperator operator, bool preOperation)
Properties
-
children
→ Iterable<
ASTNode> -
The children nodes of this node.
no setteroverride
-
descendantChildren
→ List<
ASTNode> -
Return the children and it's descendant children (unmodifiable).
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLiteral → bool
-
no setterinherited
- isLiteralDouble → bool
-
no setterinherited
- isLiteralInt → bool
-
no setterinherited
- isLiteralNum → bool
-
no setterinherited
- isLiteralString → bool
-
no setterinherited
- isVariableAccess → bool
-
no setterinherited
- literalNumType → ASTNumType
-
no setterinherited
- operator ↔ ASTAssignmentOperator
-
getter/setter pair
- parentNode → ASTNode?
-
no setterinherited
- preOperation ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- variable ↔ ASTVariable
-
getter/setter pair
Methods
-
associateToType(
ASTTypedNode node) → void -
inherited
-
cacheDescendantChildren(
) → void -
Mark that this node can cache its descendantChildren.
inherited
-
defineRunContext(
VMContext parentContext) → VMContext -
inherited
-
getNodeIdentifier(
String name, {ASTNode? requester}) → ASTNode? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveNode(
ASTNode? parentNode) → void -
inherited
-
resolveType(
VMContext? context) → FutureOr< ASTType> -
override
-
run(
VMContext parentContext, ASTRunStatus runStatus) → FutureOr< ASTValue> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited