The highest tagged major version is
v2.
package
Version:
v1.5.2
Opens a new window with list of versions in this module.
Published: Nov 2, 2019
License: GPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package lexer contains our simple lexer.
The lexer returns tokens from a (string) input, as a series of Token
objects.
Lexer holds our object-state.
New creates a Lexer instance from the given string
GetLine returns the rough line-number of our current position.
This is used to report errors in a more humane manner.
NextToken reads and returns the next token, skipping any white space.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.