Token class final
A run of text with the scopes that apply to it.
Constructors
- Token(int start, int end, ScopeStack scopes)
-
A token from
starttoendwithscopes.const
Properties
- end → int
-
End offset in the line, exclusive.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scopes → ScopeStack
-
The scopes that apply, innermost last.
final
- start → int
-
Start offset in the line, in UTF-16 code units.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited