ASTType<V> class
An AST Type.
- Implemented types
- Mixed in types
- Implementers
- Available Extensions
Constructors
Properties
-
annotations
→ List<
ASTAnnotation> ? -
final
-
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
-
generics
→ List<
ASTType> ? -
final
- hasGenerics → bool
-
Returns true if this type has generics.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasSuperType → bool
-
Returns true if this type has a super type.
no setter
- name → String
-
final
- parentNode → ASTNode?
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- superType → ASTType?
-
final
Methods
-
acceptsType(
ASTType type) → bool -
Will return true if
type
can be cast to this type. Note: This is similar to JavaisInstance
andisAssignableFrom
. -
associateToType(
ASTTypedNode node) → void -
override
-
cacheDescendantChildren(
) → void -
Mark that this node can cache its descendantChildren.
inherited
-
canCastToType(
ASTType type) → bool -
Return true if this can be cast to
type
; -
getClass(
) → ASTClass< V> -
getNodeIdentifier(
String name, {ASTNode? requester}) → ASTNode? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveNode(
ASTNode? parentNode) → void -
override
-
resolveType(
VMContext? context) → FutureOr< ASTType> -
override
-
setClass(
ASTClass< V> clazz) → void -
toDefaultValue(
VMContext context) → FutureOr< ASTValue< V> ?> -
toString(
) → String -
A string representation of this object.
override
-
toValue(
VMContext context, Object? v) → FutureOr< ASTValue< V> ?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override