ASTTypeArray2D<T extends ASTType<V>, V> class

ASTType a for a 2D array/List.

Inheritance
Implementers
Available Extensions

Constructors

ASTTypeArray2D(ASTTypeArray<T, V> type)
ASTTypeArray2D.fromElementType(ASTType<V> elementType)
factory

Properties

annotations List<ASTAnnotation>?
finalinherited
children Iterable<ASTNode>
The children nodes of this node.
no setterinherited
componentType ASTTypeArray<T, V>
finalinherited
descendantChildren List<ASTNode>
Return the children and it's descendant children (unmodifiable).
no setterinherited
elementType ASTType
no setteroverride
generics List<ASTType>?
finalinherited
hasGenerics bool
Returns true if this type has generics.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasSuperType bool
Returns true if this type has a super type.
no setterinherited
name String
finalinherited
parentNode ASTNode?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
superType ASTType?
finalinherited

Methods

acceptsType(ASTType type) bool
Will return true if type can be cast to this type. Note: This is similar to Java isInstance and isAssignableFrom.
inherited
associateToType(ASTTypedNode node) → void
inherited
cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
inherited
canCastToType(ASTType type) bool
Return true if this can be cast to type;
inherited
getClass() ASTClass<List<List<V>>>
inherited
getNodeIdentifier(String name, {ASTNode? requester}) ASTNode?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveNode(ASTNode? parentNode) → void
inherited
resolveType(VMContext? context) FutureOr<ASTType>
inherited
setClass(ASTClass<List<List<V>>> clazz) → void
inherited
toDefaultValue(VMContext context) FutureOr<ASTValue<List<List<V>>>?>
inherited
toString() String
A string representation of this object.
inherited
toValue(VMContext context, Object? v) ASTValueArray2D<T, V>?
override

Operators

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