SyntacticEntity class

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.
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
length → int
Return the number of characters in the syntactic entity's source range.
read-only
offset → int
Return the offset from the beginning of the file to the first character in the syntactic entity.
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited