parser2

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 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.

func ParsePrologue added in v0.4.0

func ParsePrologue(filename string, input string, diagMode bool, errLogger errlogger.ErrLogger) (*Prologue, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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