UnexpectedChar is thrown by Lexer.token if it encounters a character for which no state transition is defined.
Lexer.token
new (char:String, pos:Position)
Creates a new instance of UnexpectedChar.
char:String
The character which caused this exception.
this
toString ():String
Returns a readable representation of this exception.
read onlypos:Position
The position in the input where this exception occured.