parser

package
v0.0.0-...-5c64afc Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOWEST operatorPrecedence = iota
	OR
	AND
	CMP
	CONCAT
	SUM
	PRODUCT
	PREFIX
	POW
)

Variables

This section is empty.

Functions

func Run

func Run(input string) ([]ast.Unit, []int)

Types

type Parser

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

func New

func New(input string) *Parser

func (*Parser) Errors

func (p *Parser) Errors() []ast.Diagnostic

func (*Parser) ParseFile

func (p *Parser) ParseFile() ast.File

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳