ASTValueStatic<T> class

Static ASTValue. Useful for literals.

Inheritance
Implementers
Available Extensions

Constructors

ASTValueStatic(ASTType<T> type, T value)

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 setteroverride
parentNode ASTNode?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ASTType<T>
getter/setter pairinherited
value ↔ T
getter/setter pair

Methods

associateToType(ASTTypedNode node) → void
inherited
cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
inherited
equals(Object other) FutureOr<bool>
override
getNodeIdentifier(String name, {ASTNode? requester}) ASTNode?
inherited
getValue(VMContext context) → T
override
getValueNoContext() → T
override
isInstanceOf(ASTType type) bool
inherited
isInstanceOfAsync(ASTType type) FutureOr<bool>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readIndex<V>(VMContext context, int index) → V
override
readKey<V>(VMContext context, Object key) → V
override
resolve(VMContext context) ASTValue<T>
override
resolveNode(ASTNode? parentNode) → void
inherited
resolveType(VMContext? context) FutureOr<ASTType>
inherited
size(VMContext context) int?
override
toString() String
A string representation of this object.
override

Operators

operator *(ASTValue other) FutureOr<ASTValue>
inherited
operator +(ASTValue other) FutureOr<ASTValue>
inherited
operator -(ASTValue other) FutureOr<ASTValue>
inherited
operator /(ASTValue other) FutureOr<ASTValue>
inherited
operator <(Object other) FutureOr<bool>
inherited
operator <=(Object other) FutureOr<bool>
inherited
operator ==(Object other) bool
The equality operator.
override
operator >(Object other) FutureOr<bool>
inherited
operator >=(Object other) FutureOr<bool>
inherited
operator ~/(ASTValue other) FutureOr<ASTValue>
inherited