ASTClass<T> class
abstract
AST base of a Class.
- Inheritance
-
- Object
- ASTStatement
- ASTBlock
- ASTEntryPointBlock
- ASTClass
- Implementers
- Available Extensions
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 setter
-
fieldsNames
→ List<
String> -
no setter
-
functions
→ List<
ASTFunctionSet> -
no setterinherited
-
functionsNames
→ List<
String> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- 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< T> , T> -
latefinal
-
type
→ ASTType<
T> -
final
Methods
-
addAllFunctions(
Iterable< ASTFunctionDeclaration> fs) → void -
inherited
-
addAllStatements(
Iterable< ASTStatement> statements) → void -
inherited
-
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
-
containsFunctionWithName(
String name, {bool caseInsensitive = false}) → bool -
inherited
-
createInstance(
VMClassContext context, ASTRunStatus runStatus) → FutureOr< ASTValue< T> ?> -
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. -
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< T> instance, String fieldName, {bool caseInsensitive = false}) → FutureOr<ASTValue?> -
getNodeIdentifier(
String name, {ASTNode? requester}) → ASTNode? -
inherited
-
initializeInstance(
VMClassContext context, ASTRunStatus runStatus, ASTValue< T> instance) → FutureOr<void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeInstanceFieldValue(
VMContext context, ASTRunStatus runStatus, ASTValue< T> instance, String fieldName, {bool caseInsensitive = false}) → FutureOr<ASTValue?> -
resolveNode(
ASTNode? parentNode) → void -
override
-
resolveNodeFields(
ASTNode? parentNode) → void -
resolveType(
VMContext? context) → ASTType -
inherited
-
run(
VMContext parentContext, ASTRunStatus runStatus) → FutureOr< ASTValue> -
inherited
-
set(
ASTBlock? other) → void -
inherited
-
setInstanceByMap(
VMClassContext context, ASTRunStatus runStatus, ASTValue< T> instance, Map<String, ASTValue> value, {bool caseInsensitive = false}) → FutureOr<void> -
setInstanceByValue(
VMClassContext context, ASTRunStatus runStatus, ASTValue< T> instance, ASTValue<T> value) → FutureOr<void> -
setInstanceByVMObject(
VMClassContext context, ASTRunStatus runStatus, ASTValue< T> instance, VMObject value) → FutureOr<void> -
setInstanceFieldValue(
VMContext context, ASTRunStatus runStatus, ASTValue< T> instance, String fieldName, ASTValue value, {bool caseInsensitive = false}) → FutureOr<ASTValue?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited