ASTExpressionNegative class

ASTExpression that makes another expression negative.

Inheritance

Constructors

ASTExpressionNegative(ASTExpression expression)

Properties

children → Iterable<ASTNode>
The children nodes of this node.
no setteroverride
childrenOperations → Iterable<ASTExpression>
no setterinherited
descendantChildren → List<ASTNode>
Return the children and it's descendant children (unmodifiable).
no setterinherited
descendantChildrenOperations → Iterable<ASTExpression>
no setterinherited
expression ↔ ASTExpression
getter/setter pair
hasDescendantLiteralString → bool
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
hasLiteralString → bool
no setterinherited
isComplex → bool
no setteroverride
isLiteral → bool
no setterinherited
isLiteralDouble → bool
no setterinherited
isLiteralInt → bool
no setterinherited
isLiteralNum → bool
no setterinherited
isLiteralString → bool
no setterinherited
isOperation → bool
no setterinherited
isVariableAccess → bool
no setterinherited
literalNumType → ASTNumType
no setterinherited
parentNode → ASTNode?
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

associateToType(ASTTypedNode node) → void
inherited
cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
inherited
defineRunContext(VMContext parentContext) → VMContext
inherited
getHashcodeValue(VMContext? context) → FutureOr<Object?>
inherited
getNodeIdentifier(String name, {ASTNode? requester}) → ASTNode?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
operatorNegative(VMContext context, ASTValue val) → FutureOr<ASTValueNum<num>>
resolveNode(ASTNode? parentNode) → void
inherited
resolveRuntimeType(VMContext context, ASTNode? node) → FutureOr<ASTType>
inherited
resolveType(VMContext? context) → FutureOr<ASTType>
override
run(VMContext parentContext, ASTRunStatus runStatus) → FutureOr<ASTValue>
override
throwOperationError(ASTType t) → Never
toString({bool asGroup = false}) → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited