Documentation
¶
Index ¶
Constants ¶
View Source
const ( ActionTypeShift = ActionType("shift") ActionTypeReduce = ActionType("reduce") ActionTypeError = ActionType("error") )
View Source
const ( GoToTypeRegistered = GoToType("registered") GoToTypeError = GoToType("error") )
View Source
const ( ResolvedByPrec conflictResolutionMethod = 1 ResolvedByAssoc conflictResolutionMethod = 2 ResolvedByShift conflictResolutionMethod = 3 ResolvedByProdOrder conflictResolutionMethod = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type ActionType string
type BuildOption ¶ added in v0.6.0
type BuildOption func(config *buildConfig)
func EnableReporting ¶ added in v0.5.0
func EnableReporting() BuildOption
type GrammarBuilder ¶
func (*GrammarBuilder) Build ¶
func (b *GrammarBuilder) Build(opts ...BuildOption) (*spec.CompiledGrammar, *spec.Report, error)
type ParsingTable ¶
type ParsingTable struct { InitialState stateNum // contains filtered or unexported fields }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.