ASTValueDouble class

Inheritance
Available Extensions

Constructors

ASTValueDouble(double n, {bool? negative})

Properties

children Iterable<ASTNode>
The children nodes of this node.
no setterinherited
descendantChildren List<ASTNode>
Return the children and it's descendant children (unmodifiable).
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isZero bool
no setterinherited
negative bool
finalinherited
parentNode ASTNode?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ASTType<double>
getter/setter pairinherited
value double
getter/setter pairinherited

Methods

associateToType(ASTTypedNode node) → void
inherited
cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
inherited
equals(Object other) FutureOr<bool>
inherited
getNodeIdentifier(String name, {ASTNode? requester}) ASTNode?
inherited
getValue(VMContext context) double
inherited
getValueNoContext() double
inherited
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
inherited
readKey<V>(VMContext context, Object key) → V
inherited
resolve(VMContext context) ASTValue<double>
inherited
resolveNode(ASTNode? parentNode) → void
inherited
resolveType(VMContext? context) FutureOr<ASTType>
inherited
size(VMContext context) int?
inherited
toString() String
A string representation of this object.
override

Operators

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