parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const LowestPrec int = 0

Variables

View Source
var ImportsOnly uint8 = 2

Functions

This section is empty.

Types

type ParserError

type ParserError struct {
	// contains filtered or unexported fields
}

func ParseFile

func ParseFile(fset *token.FileSet, filename string, src interface{}, mode uint8) (*ast.File, *ParserError)

func (*ParserError) Error

func (err *ParserError) Error() string

Jump to

Keyboard shortcuts

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