Documentation ¶
Overview ¶
Package lexer contains source code autogenerated by GOCC from the Miller DSL's grammar file pkg/parsing/mlr.bnf.
Index ¶
Constants ¶
View Source
const ( NoState = -1 NumStates = 336 NumSymbols = 653 )
Variables ¶
View Source
var ActTab = ActionTable{}/* 336 elements not displayed */
View Source
var TransTab = TransitionTable{}/* 336 elements not displayed */
Functions ¶
This section is empty.
Types ¶
type ActionTable ¶
type Lexer ¶
func NewLexerFile ¶
type SourceContext ¶
type SourceContext struct {
Filepath string
}
SourceContext is a simple instance of a token.Context which contains the name of the source file.
func (*SourceContext) Source ¶
func (s *SourceContext) Source() string
type TransitionTable ¶
Let s be the current state Let r be the current input rune transitionTable[s](r) returns the next state.
Click to show internal directories.
Click to hide internal directories.