Documentation ¶
Overview ¶
Code generated by pogo DO NOT EDIT
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewBufferedLexer ¶
func NewBufferedLexer(r io.Reader) pogo.LexerIface
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
func NewLexerWithInit ¶
NewLexerWithInit creates a new Lexer object, runs the given callback on it, then returns it.
func (*Lexer) Lex ¶
Lex runs the lexer. Always returns 0. When the -s option is given, this function is not generated; instead, the NN_FUN macro runs the lexer.
type LexerImpl ¶
type LexerImpl struct {
// contains filtered or unexported fields
}
Bridges nex -> pogo.Lexer
type ParserImpl ¶
type ParserImpl struct { pogo.BaseParseState // contains filtered or unexported fields }
func (*ParserImpl) Clone ¶
func (p *ParserImpl) Clone() pogo.ParseState
func (*ParserImpl) HandleError ¶
func (p *ParserImpl) HandleError(tok pogo.Item, err error)
func (*ParserImpl) Lexer ¶
func (p *ParserImpl) Lexer() pogo.LexerIface
Source Files ¶
Click to show internal directories.
Click to hide internal directories.