Documentation ¶
Index ¶
- type Expr
- type Parser
- func (t *Parser) AST() *node32
- func (t *Parser) Add(rule pegRule, begin, end, depth uint32, index int)
- func (t *Parser) Error() []token32
- func (p *Parser) Execute()
- func (t *Parser) Expand(index int)
- func (p *Parser) Highlighter()
- func (p *Parser) Init()
- func (t *Parser) Order() [][]token32
- func (t *Parser) PreOrder() (<-chan state32, [][]token32)
- func (t *Parser) Print()
- func (t *Parser) PrintSyntax()
- func (p *Parser) PrintSyntaxTree()
- func (t *Parser) Tokens() <-chan token32
- type Qexpr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct { Qexpr Buffer string Parse func(rule ...int) error Reset func() Pretty bool // contains filtered or unexported fields }
func (*Parser) Highlighter ¶
func (p *Parser) Highlighter()
func (*Parser) PrintSyntax ¶
func (t *Parser) PrintSyntax()
func (*Parser) PrintSyntaxTree ¶
func (p *Parser) PrintSyntaxTree()
Click to show internal directories.
Click to hide internal directories.