ASTCompilation class
A bundle of all imported sources
Constructors
-
ASTCompilation({required Map<
String, ASTSource> values, required Map<String, ASTSource> sources, required String entryFullname, required HTResourceType entryResourceType, required List<HTError> errors, HTSource? source, int line = 0, int column = 0, int offset = 0, int length = 0, Version? version})
Properties
- column → int
-
finalinherited
- documentation → String
-
no setterinherited
- end → int
-
no setterinherited
- entryFullname → String
-
final
- entryResourceType → HTResourceType
-
final
-
errors
→ List<
HTError> -
final
- 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 setterinherited
- isExpression → bool
-
no setterinherited
- isStatement → bool
-
finalinherited
- length → int
-
finalinherited
- line → int
-
finalinherited
- offset → int
-
finalinherited
-
precedings
↔ List<
ASTAnnotation> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → HTSource?
-
finalinherited
-
sources
→ Map<
String, ASTSource> -
final
-
succeedings
↔ List<
ASTAnnotation> -
getter/setter pairinherited
- trailing ↔ ASTAnnotation?
-
getter/setter pairinherited
- trailingAfterComma ↔ ASTAnnotation?
-
getter/setter pairinherited
- type → String
-
finalinherited
- 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 pairinherited
-
values
→ Map<
String, ASTSource> -
final
- version → Version?
-
final
Methods
-
accept(
AbstractASTVisitor visitor) → dynamic -
Visit this node
override
-
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited