Lexer class

Constructors

Lexer(String source)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
getter/setter pair
start int
getter/setter pair
token String?
getter/setter pair
type TokenType?
getter/setter pair

Methods

checkAnnotation(String? ch) bool
checkBrackets(String? ch, bool inBrackets) bool
checkNumber(String? ch) bool
checkNumberOrSymbol(String? ch) bool
checkSingle(String ch, String test, TokenType type) bool
consume() → void
finished() bool
getTokenAsInt() int
isValidSymbolChar(String? ch, bool allowDigits, bool inBrackets) bool
nextChar() String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
peekChar() String?
toString() String
A string representation of this object.
override

Operators

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

Constants

noChar → const String