Token<T extends TokenType> class
A token, a chain of characters representing a value to manage.
- Implemented types
- Implementers
Constructors
Properties
- globalOffset → int
-
Where the token is located.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rawValue → String
-
The raw value of the token.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → T
-
The type of the token.
final
Methods
-
compute(
ComputeContext ctx) → Result -
Computes the value(s) stored in this object into a Result.
override
-
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