Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ASTGenerator *cgen.CodeGenerator[*ASTData]
)
View Source
var (
LexerGenerator *cgen.CodeGenerator[*LexerData]
)
View Source
var (
ParserGenerator *cgen.CodeGenerator[*ParserData]
)
Functions ¶
This section is empty.
Types ¶
type LexerData ¶
type LexerData struct {
PackageName string
}
func NewLexerData ¶
func NewLexerData() *LexerData
func (*LexerData) SetPkgName ¶
type ParserData ¶
func NewParserData ¶
func NewParserData(rules []*pkg.Rule) (*ParserData, error)
func (*ParserData) SetPkgName ¶
func (d *ParserData) SetPkgName(pkg_name string) error
Click to show internal directories.
Click to hide internal directories.