Documentation ¶ Index ¶ type Lexer type Parser Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Lexer ¶ type Lexer interface { // Print prints all the states/sets of the finite automata Print() // Match matches the given runes and returns proper token Match(runes []rune) *token.Token } type Parser ¶ type Parser interface { Match() (*ast.Node, error) } Source Files ¶ View all Source files finite_automata.go Click to show internal directories. Click to hide internal directories.