SyntacticEntity class Null safety
Interface representing a syntactic entity (either a token or an AST node) which has a location and extent in the source file.
- end → int
Return the offset from the beginning of the file to the character after the
last character of the syntactic entity.
- hashCode → int
The hash code for this object. [...]
- length → int
Return the number of characters in the syntactic entity's source range.
- offset → int
Return the offset from the beginning of the file to the first character in
the syntactic entity.
- runtimeType → Type
A representation of the runtime type of the object.