parser2

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseUnit added in v0.2.0

func ParseUnit(filename string, input string, diagMode bool, errLogger errlogger.ErrLogger) (*ast.Unit, error)

Types

type Prologue added in v0.3.0

type Prologue struct {
	Meta    ast.ASTs
	Imports ast.ASTs
}

Prologue contains a unit's Meta and Imports. It is not an AST, which is why it is declared in the parser package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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