ASTRoot class
An AST Root.
A parse of a CodeUnit generates an ASTRoot.
- Inheritance
-
- Available Extensions
Methods
-
addAllClasses(List<ASTClassNormal> classes)
→ void
-
-
addAllFunctions(Iterable<ASTFunctionDeclaration> fs)
→ void
-
inherited
-
addAllStatements(Iterable<ASTStatement> statements)
→ void
-
inherited
-
addClass(ASTClassNormal clazz)
→ void
-
-
addFunction(ASTFunctionDeclaration f)
→ void
-
inherited
-
addStatement(ASTStatement statement)
→ void
-
inherited
-
associateToType(ASTTypedNode node)
→ void
-
inherited
-
cacheDescendantChildren()
→ void
-
Mark that this node can cache its descendantChildren.
inherited
-
containsClass(String className, {bool caseInsensitive = false})
→ bool
-
-
containsFunctionWithName(String name, {bool caseInsensitive = false})
→ bool
-
inherited
-
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
-
getClass(String className, {bool caseInsensitive = false})
→ ASTClassNormal?
-
-
getClassWithMethod(String methodName)
→ ASTClassNormal?
-
-
getField(String name, {bool caseInsensitive = false})
→ ASTClassField?
-
inherited
-
getFunction(String fName, 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
-
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)
→ ASTType
-
inherited
-
run(VMContext parentContext, ASTRunStatus runStatus)
→ FutureOr<ASTValue>
-
inherited
-
set(ASTBlock? other)
→ void
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited