package
Version:
v0.0.0-...-d9f2893
Opens a new window with list of versions in this module.
Published: Dec 16, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package lexer implements lexer for a simple regular expression.
Lexer has a slice of symbols to analyze.
NewLexer returns a new Lexer.
This constructor create a sequence of symbols from
the string given in the argument and hold it.
Scan returns the token list to which converted from
the symbol slice held in Lexer struct.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.