class Lexer
- Lexer
- Reference
- Object
Direct Known Subclasses
Defined in:
lexer.crConstructors
Instance Method Summary
-
#advance_token
Reset the current token
-
#current_token : Token
The token currently being lexed.
-
#current_token=(current_token : Token)
The token currently being lexed.
-
#pos : Int32
The current position in the source String.
-
#pos=(pos : Int32)
The current position in the source String.
-
#read_token
Scan the source until the next token has been completed and return that new token.
-
#source : String
The source code being lexed.
-
#source=(source : String)
The source code being lexed.