parser

package
v0.0.0-...-9c46660 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSyntaxError

func NewSyntaxError(reason, input string, pos int) error

func Parse

func Parse(a string) (ast.Node, error)

Evaluates the types from the lexer and returns the AST.

Types

type SyntaxError

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

func (SyntaxError) Error

func (s SyntaxError) Error() string

Jump to

Keyboard shortcuts

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