ASTNode class abstract
An abstract node of an abstract syntax tree.
- Implementers
- AssignExpr
- ASTCompilation
- ASTDocumentation
- ASTEmpty
- ASTLiteralBoolean
- ASTLiteralFloat
- ASTLiteralInteger
- ASTLiteralNull
- ASTLiteralString
- ASTSource
- ASTStringInterpolation
- BinaryExpr
- CallExpr
- ClassDecl
- CommaExpr
- EnumDecl
- FieldTypeExpr
- FuncDecl
- GenericTypeParameterExpr
- GroupExpr
- IdentifierExpr
- InOfExpr
- ListExpr
- MemberExpr
- ParamTypeExpr
- RedirectingConstructorCallExpr
- SpreadExpr
- Statement
- StructDecl
- StructObjExpr
- StructObjField
- SubExpr
- TernaryExpr
- TypeExpr
- UnaryPostfixExpr
- UnaryPrefixExpr
- VarDecl
Constructors
Properties
- column → int
-
final
- end → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConstValue → bool
-
Wether this value is constantant value,
i.e. its value can be computed before compile into bytecode.
no setter
- isExpression → bool
-
no setter
- isStatement → bool
-
final
- length → int
-
final
- line → int
-
final
- offset → int
-
final
-
precedings
↔ List<
ASTDocumentation> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → HTSource?
-
final
-
succeedings
↔ List<
ASTDocumentation> -
getter/setter pair
- trailing ↔ ASTDocumentation?
-
getter/setter pair
- trailingAfterComma ↔ ASTDocumentation?
-
getter/setter pair
- type → String
-
final
- value ↔ dynamic
-
If this is a constant expressions, the constant interpreter will compute the value
and assign to this property, otherwise, this peoperty is null.
getter/setter pair
Methods
-
accept(
AbstractASTVisitor visitor) → dynamic - Visit this node
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subAccept(
AbstractASTVisitor visitor) → void - Visit all the sub nodes of this, doing nothing by default.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited