SyntacticEntity class abstract

Interface representing a syntactic entity (either a token or an AST node) which has a location and extent in the source file.

Implementers

Constructors

SyntacticEntity()

Properties

end int
Return the offset from the beginning of the file to the character after the last character of the syntactic entity.
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
Return the number of characters in the syntactic entity's source range.
no setter
offset int
Return the offset from the beginning of the file to the first character in the syntactic entity.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited