parser

package
v0.0.0-...-3971e8e Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(filename string, srcReader io.Reader) (*ast.RootBlock, error)

Parse is a function to parse an io.Reader and convert it into an *RootBlock and an error.

Types

type ParseError

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

func NewParseError

func NewParseError(err participle.Error, src string) ParseError

func (ParseError) Error

func (e ParseError) Error() string

Jump to

Keyboard shortcuts

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