parser

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

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

func NewParser

func NewParser(tokens lexer.Tokens) *Parser

func (*Parser) Parse

func (p *Parser) Parse() (ast.Expr, error)

type PositionalError

type PositionalError struct {
	Position int
	Err      error
}

func (*PositionalError) Error

func (e *PositionalError) Error() string

type UnexpectedTokenError

type UnexpectedTokenError struct {
	Token lexer.Token
}

func (*UnexpectedTokenError) Error

func (e *UnexpectedTokenError) Error() string

Jump to

Keyboard shortcuts

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