Lexer class

Constructors

Lexer(String fileContent)

Properties

currentCharacter String
getter/setter pair
cursor Cursor
getter/setter pair
fileContent String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isEndOfFile bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

advanceCursor() → void
consumeToken(TokenKind kind, String lexeme) Token
isDigit(String currentChar) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
skipWhitespaces() → void
tokenize() List<Token>
toString() String
A string representation of this object.
inherited

Operators

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