parser

package
v0.0.0-...-f33e45f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	IP    []net.IP
	Cname []string

	Buffer string

	Pretty bool
	// contains filtered or unexported fields
}

func (*Result) AST

func (t *Result) AST() *node32

func (*Result) Add

func (t *Result) Add(rule pegRule, begin, end, index uint32)

func (*Result) Execute

func (p *Result) Execute()

func (*Result) Init

func (p *Result) Init()

func (*Result) Parse

func (p *Result) Parse(rule ...int) error

func (*Result) PrettyPrintSyntaxTree

func (t *Result) PrettyPrintSyntaxTree(buffer string)

func (*Result) Print

func (t *Result) Print()

func (*Result) PrintSyntaxTree

func (p *Result) PrintSyntaxTree()

func (*Result) Reset

func (p *Result) Reset()

func (*Result) Tokens

func (t *Result) Tokens() []token32

func (*Result) Trim

func (t *Result) Trim(length uint32)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL