Token class

Token

Implementers

Constructors

Token(Iterable<int> _runes, TokenType type, {int start = 0, int end = 0, int lineStart = 0, int lineNumber = 1})
const

Properties

end int
tokens end position.
final
hashCode int
The hash code for this object.
no setterinherited
lineNumber int
tokens lineNumber.
final
lineStart int
tokens lineStart position.
final
runes List<int>
no setter
runesAsString String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
tokens start position.
final
type TokenType
final
typeAsString String
no setter

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