package
Version:
v0.0.0-...-fbd2d13
Opens a new window with list of versions in this module.
Published: Jun 26, 2020
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Lexer represents a lexical scanner for Lox programing language.
New return an instance of Lexer.
NextToken reads and returns token and literal.
It returns token.Illegal for invalid string or number.
It return token.EOF at the end of input string.
Pos returns current position of lexer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.