Token class final
A Lox program token.
- Annotations
-
- @immutable
Constructors
Properties
- column → int
-
The column in which the token was scanned.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lexeme → String
-
The string representation of the token.
final
- line → int
-
The line in which the token was scanned.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TokenType
-
The type of the token.
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