ASTBlock class
An AST Block of code (statements).
- Inheritance
-
- Object
- ASTStatement
- ASTBlock
- Implementers
- Available Extensions
Properties
-
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
-
functions
→ List<
ASTFunctionSet> -
no setter
-
functionsNames
→ List<
String> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- parentBlock ↔ ASTBlock?
-
getter/setter pair
- parentNode → ASTNode?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statements
→ List<
ASTStatement> -
no setter
Methods
-
addAllFunctions(
Iterable< ASTFunctionDeclaration> fs) → void -
addAllStatements(
Iterable< ASTStatement> statements) → void -
addFunction(
ASTFunctionDeclaration f) → void -
addStatement(
ASTStatement statement) → void -
associateToType(
ASTTypedNode node) → void -
inherited
-
cacheDescendantChildren(
) → void -
Mark that this node can cache its descendantChildren.
inherited
-
containsFunctionWithName(
String name, {bool caseInsensitive = false}) → bool -
defineRunContext(
VMContext parentContext) → VMContext -
override
-
getField(
String name, {bool caseInsensitive = false}) → ASTClassField? -
getFunction(
String fName, ASTFunctionSignature parametersSignature, VMContext context, {bool caseInsensitive = false}) → ASTFunctionDeclaration? -
getFunctionReturnType<
T> (String name, ASTFunctionSignature parametersTypes, VMContext context) → ASTType< T> ? -
getFunctionWithName(
String name, {bool caseInsensitive = false}) → ASTFunctionSet? -
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 -
override
-
run(
VMContext parentContext, ASTRunStatus runStatus) → FutureOr< ASTValue> -
override
-
set(
ASTBlock? other) → void -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited