parser

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeaderFuncDefs added in v0.0.8

func GetHeaderFuncDefs(header interfaces.DatapackHeader) map[string]interfaces.FunctionDefinition

Types

type Parser

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

func NewParser added in v0.2.0

func NewParser(file string, tokenSource []tokens.Token) *Parser

func (*Parser) IsAtEnd

func (p *Parser) IsAtEnd() bool

func (*Parser) Parse

func (p *Parser) Parse() (ast.Source, []error)

func (*Parser) ParseType added in v0.0.8

func (p *Parser) ParseType() (types.ValueType, error)

Jump to

Keyboard shortcuts

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