Documentation ¶
Overview ¶
Package lexer provides generated internal lexer functions for DOT parsing.
Index ¶
Constants ¶
View Source
const ( NoState = -1 NumStates = 143 NumSymbols = 184 )
Variables ¶
View Source
var ActTab = ActionTable{}/* 143 elements not displayed */
View Source
var TransTab = TransitionTable{}/* 143 elements not displayed */
Functions ¶
This section is empty.
Types ¶
type ActionTable ¶
type Lexer ¶
func NewLexerFile ¶
type SourceContext ¶ added in v0.14.0
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 ¶ added in v0.14.0
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.