VMObject class
An VM Object instance, with respective fields for class type.
- Inheritance
- Available Extensions
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
-
fieldsKeys
→ Iterable<
String> -
no setter
-
fieldsTypes
→ Map<
String, ASTType> -
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
final
- parentNode → ASTNode?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ ASTType
-
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
-
getFieldNameIgnoreCase(
String fieldName) → String? -
getFieldsValues(
[VMContext? context]) → Map< String, ASTValue> - Returns a Map with fields names and values.
-
getFieldValue(
String fieldName, [VMContext? context]) → ASTValue? - Returns a field value.
-
getNodeIdentifier(
String name, {ASTNode? requester}) → ASTNode? -
inherited
-
getValue(
VMContext context) → FutureOr -
override
-
getValueNoContext(
) → FutureOr -
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(
String fieldName, [VMContext? context]) → ASTRuntimeVariable? - Removes a field.
-
removeFieldValue(
String fieldName, [VMContext? context]) → ASTValue? - Removes a field and resolves previous value.
-
resolve(
VMContext context) → FutureOr< ASTValue> -
override
-
resolveNode(
ASTNode? parentNode) → void -
inherited
-
resolveType(
VMContext? context) → FutureOr< ASTType> -
inherited
-
setFieldsValues(
Map< String, ASTValue> fieldsValues, [VMContext? context]) → void -
Set fields values from a Map
fieldsValues
. -
setFieldValue(
String fieldName, ASTValue value, [VMContext? context]) → ASTRuntimeVariable? -
Sets a field
value
. -
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.
override
-
operator >(
Object other) → FutureOr< bool> -
inherited
-
operator >=(
Object other) → FutureOr< bool> -
inherited
-
operator [](
Object? field) → ASTRuntimeVariable? -
operator []=(
String field, ASTRuntimeVariable? value) → void -
operator ~/(
ASTValue other) → FutureOr< ASTValue> -
inherited
Static Methods
-
createInstance(
VMContext context, ASTType type) → VMObject