Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoTypeName ¶
Types ¶
type GoNode ¶ added in v0.21.0
type GoNode struct {
// contains filtered or unexported fields
}
func MakeGrammarString ¶
type GrammarType ¶ added in v0.21.0
type GrammarType interface { TypeName() string Ident() string String() string Children() []GrammarType CallbackData() *callbackData }
type IdentsWriter ¶
type IdentsWriter struct {
wbnf.GrammarNode
}
func (IdentsWriter) String ¶
func (i IdentsWriter) String() string
type TemplateData ¶
type TypeMap ¶
type TypeMap map[string]GrammarType
type TypesData ¶
type TypesData struct {
// contains filtered or unexported fields
}
func MakeTypes ¶
func MakeTypes(node wbnf.GrammarNode) *TypesData
func (*TypesData) Types ¶
func (d *TypesData) Types() map[string]GrammarType
type VisitorWriter ¶
type VisitorWriter struct {
// contains filtered or unexported fields
}
func GetVisitorWriter ¶
func GetVisitorWriter(types map[string]GrammarType, startRule string) VisitorWriter
func (VisitorWriter) String ¶
func (w VisitorWriter) String() string
Click to show internal directories.
Click to hide internal directories.