package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 27, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Node is a state of the Tokenizer automaton
Path connects two nodes over a regular expression
type PreNode struct {
Final bool `json:"final"`
Paths map[string]string `json:"paths"`
Token Token `json:"token,omitempty"`
}
PreNode is used by the Tokenizer constructor to store unprocessed values
that will form a complete Node
Token takes values defined in the rules
Source Files
¶
Click to show internal directories.
Click to hide internal directories.