ASTExternalClassGetter<T> class

An AST External Class Getter.

Inheritance

Constructors

ASTExternalClassGetter(ASTClass clazz, String name, ASTType<T> returnType, dynamic externalFunction(Object? o), [FutureOr<ASTType> returnTypeResolver(VMContext? context, ASTNode? o)?])

Properties

children → Iterable<ASTNode>
The children nodes of this node.
no setterinherited
classType → ASTType?
no setterinherited
clazz ↔ ASTClass?
The class type of this getter.
getter/setter pairinherited
descendantChildren → List<ASTNode>
Return the children and it's descendant children (unmodifiable).
no setterinherited
externalFunction → dynamic Function(Object? o)
final
functions → List<ASTFunctionSet>
no setterinherited
functionsNames → List<String>
no setterinherited
getter → List<ASTGetterDeclaration>
no setterinherited
getterNames → List<String>
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
modifiers → ASTModifiers
Modifiers of this function.
finalinherited
name → String
Name of this function.
finalinherited
parentBlock ↔ ASTBlock?
getter/setter pairinherited
parentNode → ASTNode?
no setterinherited
returnType → ASTType<T>
The return type of this function.
finalinherited
returnTypeResolver → FutureOr<ASTType> Function(VMContext? context, ASTNode? o)?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setter → List<ASTSetterDeclaration>
no setterinherited
setterNames → List<String>
no setterinherited
statements → List<ASTStatement>
no setterinherited

Methods

addAllFunctions(Iterable<ASTFunctionDeclaration> fs) → void
inherited
addAllGetters(Iterable<ASTGetterDeclaration> gs) → void
inherited
addAllSetters(Iterable<ASTSetterDeclaration> ss) → void
inherited
addAllStatements(Iterable<ASTStatement> statements) → void
inherited
addFunction(ASTFunctionDeclaration f) → void
inherited
addGetter(ASTGetterDeclaration g) → void
inherited
addSetter(ASTSetterDeclaration s) → void
inherited
addStatement(ASTStatement statement) → void
inherited
associateToType(ASTTypedNode node) → void
inherited
cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
inherited
call(VMContext parent, {List? positionalParameters, Map? namedParameters}) → FutureOr<ASTValue<T>>
override
containsFunctionWithName(String name, {bool caseInsensitive = false}) → bool
inherited
defineRunContext(VMContext parentContext) → VMContext
inherited
getField(String name, {bool caseInsensitive = false}) → ASTClassField?
inherited
getFunction(String fName, ASTFunctionSignature parametersSignature, VMContext context, {bool caseInsensitive = false}) → ASTInvocableDeclaration<dynamic, ASTParameterDeclaration, ASTParametersDeclaration<ASTParameterDeclaration>>?
inherited
getFunctionReturnType<T>(String name, ASTFunctionSignature parametersTypes, VMContext context) → ASTType<T>?
inherited
getFunctionWithName(String name, {bool caseInsensitive = false}) → ASTFunctionSet?
inherited
getGetter(String fName, VMContext context, {bool caseInsensitive = false}) → ASTGetterDeclaration?
inherited
getGetterWithName(String name, {bool caseInsensitive = false}) → ASTGetterDeclaration?
inherited
getNodeIdentifier(String name, {ASTNode? requester}) → ASTNode?
inherited
getSetter(String fName, VMContext context, {bool caseInsensitive = false}) → ASTSetterDeclaration?
inherited
getSetterWithName(String name, {bool caseInsensitive = false}) → ASTSetterDeclaration?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
objectCall(VMContext parent, ASTValue classInstance, {List? positionalParameters, Map? namedParameters}) → FutureOr<ASTValue<T>>
inherited
resolveNode(ASTNode? parentNode) → void
inherited
resolveReturnValue(VMContext context, ASTNode? node, Object? returnValue) → FutureOr<ASTValue<T>>
inherited
resolveRuntimeType(VMContext context, ASTNode? node) → FutureOr<ASTType>
override
resolveType(VMContext? context) → ASTType
inherited
run(VMContext parentContext, ASTRunStatus runStatus) → ASTValue
inherited
set(ASTBlock? other) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

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