Documentation
¶
Index ¶
- func Pretty(pretty bool) func(*Comment) error
- func Size(size int) func(*Comment) error
- type Comment
- func (t *Comment) AST() *node32
- func (t *Comment) Add(rule pegRule, begin, end, index uint32)
- func (p *Comment) Init(options ...func(*Comment) error) error
- func (p *Comment) Parse(rule ...int) error
- func (t *Comment) PrettyPrintSyntaxTree(buffer string)
- func (t *Comment) Print()
- func (p *Comment) PrintSyntaxTree()
- func (p *Comment) Reset()
- func (p *Comment) SprintSyntaxTree() string
- func (t *Comment) Tokens() []token32
- func (t *Comment) Trim(length uint32)
- func (p *Comment) WriteSyntaxTree(w io.Writer)
- type Def
- type Span
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Comment ¶
func (*Comment) PrettyPrintSyntaxTree ¶
func (t *Comment) PrettyPrintSyntaxTree(buffer string)
func (*Comment) PrintSyntaxTree ¶
func (p *Comment) PrintSyntaxTree()
func (*Comment) SprintSyntaxTree ¶
func (*Comment) WriteSyntaxTree ¶
Click to show internal directories.
Click to hide internal directories.