Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer is used to build and store the token table
type Rules ¶
type Rules struct { Nodes map[string]automaton.PreNode `json:"nodes"` TokenStrings []automaton.Token `json:"tokens"` Tokens map[automaton.Token]bool }
Rules is used by the tokenizer to build the token table
Click to show internal directories.
Click to hide internal directories.