parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOWEST int
	TERNARY
	OR     // ||
	AND    // &&
	EQUALS // ==
	PREFIX // !X
	CALL   // myfunction(true)
	DOT    // foo.bar
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

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

func New

func New(l *lexer.Lexer) *Parser

func (*Parser) Errors

func (p *Parser) Errors() []error

func (*Parser) Parse

func (p *Parser) Parse() ast.Expression

Jump to

Keyboard shortcuts

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