grammar

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingRequiredField = errors.New("missing required application field(s)")
	ErrParseSource          = errors.New("error parsing source material")
)

Functions

func EvalError

func EvalError(filename, source string, options ...participle.ParseOption) (map[string]api.Error, error)

func EvalInfo

func EvalInfo(source string, options ...participle.ParseOption) (*api.Application, error)

Types

type ErrorGrammar

type ErrorGrammar struct {
	Stmts []*attribute `@@*`
}

type InfoGrammar

type InfoGrammar struct {
	Stmts []*attribute `@@*`
}

Jump to

Keyboard shortcuts

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