parser

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: MIT Imports: 5 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 New

func New(tokens []lexer.Token) *Parser

func (*Parser) ParseExpression

func (p *Parser) ParseExpression() (ast.Expression, error)

func (*Parser) ParseFile

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

func (*Parser) ParseOutputBlock

func (p *Parser) ParseOutputBlock() (ast.OutputBlock, error)

func (*Parser) ParseScriptBlock

func (p *Parser) ParseScriptBlock() (ast.ScriptBlock, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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