ASTClassNormal class

AST of a normal VM Class.

Inheritance
Available Extensions

Constructors

ASTClassNormal(String name, ASTType<VMObject> type, ASTBlock? parentBlock)

Properties

children Iterable<ASTNode>
The children nodes of this node.
no setterinherited
descendantChildren List<ASTNode>
Return the children and it's descendant children (unmodifiable).
no setterinherited
fields List<ASTClassField>
no setteroverride
fieldsNames List<String>
no setteroverride
functions List<ASTFunctionSet>
no setterinherited
functionsNames List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
finalinherited
parentBlock ASTBlock?
getter/setter pairinherited
parentNode ASTNode?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statements List<ASTStatement>
no setterinherited
staticAccessor ASTClassStaticAccessor<ASTClass<VMObject>, VMObject>
latefinalinherited
type ASTType<VMObject>
finalinherited

Methods

addAllFields(Iterable<ASTClassField> fields) → void
addAllFunctions(Iterable<ASTFunctionDeclaration> fs) → void
inherited
addAllStatements(Iterable<ASTStatement> statements) → void
inherited
addField(ASTClassField field) → void
addFunction(ASTFunctionDeclaration f) → void
override
addStatement(ASTStatement statement) → void
inherited
associateToType(ASTTypedNode node) → void
inherited
cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
inherited
containsFunctionWithName(String name, {bool caseInsensitive = false}) bool
inherited
createInstance(VMClassContext context, ASTRunStatus runStatus) FutureOr<ASTClassInstance<VMObject>?>
override
defineRunContext(VMContext parentContext) VMContext
inherited
execute(String entryFunctionName, List? positionalParameters, Map? namedParameters, {ApolloExternalFunctionMapper? externalFunctionMapper, VMObject? classInstanceObject, Map<String, ASTValue>? classInstanceFields, VMTypeResolver? typeResolver}) FutureOr<ASTValue>
inherited
getField(String name, {bool caseInsensitive = false}) ASTClassField?
override
getFieldsMap({VMContext? context, Map<String, ASTValue>? fieldOverwrite}) FutureOr<Map<String, Object>>
Returns a Map<String,Object> with the fields names and values.
override
getFunction(String fName, ASTFunctionSignature parametersSignature, VMContext context, {bool caseInsensitive = false}) ASTFunctionDeclaration?
inherited
getFunctionReturnType<T>(String name, ASTFunctionSignature parametersTypes, VMContext context) ASTType<T>?
inherited
getFunctionWithName(String name, {bool caseInsensitive = false}) ASTFunctionSet?
inherited
getFunctionWithParameters(String entryFunctionName, List? positionalParameters, Map? namedParameters, {ApolloExternalFunctionMapper? externalFunctionMapper, VMTypeResolver? typeResolver}) FutureOr<ASTFunctionDeclaration?>
inherited
getInstanceFieldValue(VMContext context, ASTRunStatus runStatus, ASTValue<VMObject> instance, String fieldName, {bool caseInsensitive = false}) FutureOr<ASTValue?>
override
getNodeIdentifier(String name, {ASTNode? requester}) ASTNode?
override
initializeInstance(VMClassContext context, ASTRunStatus runStatus, ASTValue<VMObject> instance) FutureOr<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeInstanceFieldValue(VMContext context, ASTRunStatus runStatus, ASTValue<VMObject> instance, String fieldName, {bool caseInsensitive = false}) FutureOr<ASTValue?>
override
resolveNode(ASTNode? parentNode) → void
inherited
resolveNodeFields(ASTNode? parentNode) → void
override
resolveType(VMContext? context) ASTType
inherited
run(VMContext parentContext, ASTRunStatus runStatus) FutureOr<ASTValue>
inherited
set(ASTBlock? other) → void
override
setInstanceByMap(VMClassContext context, ASTRunStatus runStatus, ASTValue<VMObject> instance, Map<String, ASTValue> value, {bool caseInsensitive = false}) FutureOr<void>
override
setInstanceByValue(VMClassContext context, ASTRunStatus runStatus, ASTValue<VMObject> instance, ASTValue<VMObject> value) FutureOr<void>
override
setInstanceByVMObject(VMClassContext context, ASTRunStatus runStatus, ASTValue<VMObject> instance, VMObject value) FutureOr<void>
override
setInstanceFieldValue(VMContext context, ASTRunStatus runStatus, ASTValue<VMObject> instance, String fieldName, ASTValue value, {bool caseInsensitive = false}) FutureOr<ASTValue?>
override
toString() String
A string representation of this object.
inherited

Operators

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