ASTClassInstance<V extends ASTValue> class
ASTValue for an object class instance.
- Inheritance
- Available Extensions
Constructors
-
ASTClassInstance(ASTClass<
V> clazz, V _object)
Properties
-
children
→ Iterable<
ASTNode> -
The children nodes of this node.
no setteroverride
-
clazz
→ ASTClass<
V> -
final
-
descendantChildren
→ List<
ASTNode> -
Return the children and it's descendant children (unmodifiable).
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- parentNode → ASTNode?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
↔ ASTType<
V> -
getter/setter pairinherited
- vmObject → V
-
The internal VMObject of this instance.
no setter
Methods
-
associateToType(
ASTTypedNode node) → void -
inherited
-
cacheDescendantChildren(
) → void -
Mark that this node can cache its descendantChildren.
inherited
-
equals(
Object other) → FutureOr< bool> -
inherited
-
getField(
VMClassContext context, String name, {bool caseInsensitive = false}) → FutureOr< ASTValue?> -
getNodeIdentifier(
String name, {ASTNode? requester}) → ASTNode? -
inherited
-
getValue(
VMContext context) → V -
override
-
getValueNoContext(
) → V -
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) → FutureOr< V> -
inherited
-
readKey<
V> (VMContext context, Object key) → FutureOr< V> -
inherited
-
removeField(
VMClassContext context, String name, {bool caseInsensitive = false}) → FutureOr< ASTValue?> -
resolve(
VMContext context) → ASTClassInstance< V> -
override
-
resolveNode(
ASTNode? parentNode) → void -
inherited
-
resolveType(
VMContext? context) → ASTType -
override
-
setField(
VMClassContext context, String name, ASTValue value, {bool caseInsensitive = false}) → FutureOr< ASTValue?> -
setFields(
VMClassContext context, Map< String, ASTValue> fieldsValues, {bool caseInsensitive = false}) → void -
size(
VMContext context) → FutureOr< int?> -
inherited
-
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.
inherited
-
operator >(
Object other) → FutureOr< bool> -
inherited
-
operator >=(
Object other) → FutureOr< bool> -
inherited
-
operator ~/(
ASTValue other) → FutureOr< ASTValue> -
inherited