Documentation
¶
Overview ¶
Package builder generates the parser code for a given grammar. It makes no attempt to verify the correctness of the grammar.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*builder) Option
Option is a function that can set an option on the builder. It returns the previous setting as an Option.
func ReceiverName ¶
ReceiverName returns an option that specifies the receiver name to use for the current struct (which is the struct on which all code blocks except the initializer are generated).
Click to show internal directories.
Click to hide internal directories.