parse

package
v0.0.0-...-80e9d33 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: CC0-1.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 Mode

type Mode uint64
const (
	DeclarationErrors Mode = 1 << iota // report declaration errors
)

type Parser

type Parser struct {
	NumErrors int
	// contains filtered or unexported fields
}

func (*Parser) Init

func (p *Parser) Init(lex *lex.Lexer, errh func(scanner.Position, error), mode Mode)

func (*Parser) Parse

func (p *Parser) Parse() *ast.Prog

Jump to

Keyboard shortcuts

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