parser

package
v0.0.0-...-c922539 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseExpr

func ParseExpr(filename string, src io.Reader, mode ...Option) (_ ast.Expr, retErr error)

func ParseFile

func ParseFile(filename string, src io.Reader, mode ...Option) (retFile *ast.File, retErr error)

Types

type Option

type Option func(p *parser)

Option specifies a parse option.

var (
	// Trace causes parsing to print a trace of parsed productions.
	Trace Option = traceOpt
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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