ScannerState class

Constructors

ScannerState(Source source)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int
read / write
isPossibleProperty bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source Source
final
sourceString String
final
tokens List<Token>
final

Methods

advance() int
current() int
emitTokenAndAdvance(TokenType tokenType, String value) → void
emitTokenFrom(TokenType tokenType, int index) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
preview(int i) int
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited