parser

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 8 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() *Parser

func (*Parser) ParseStmt added in v0.5.3

func (p *Parser) ParseStmt() (ast.Stmt, error)

func (*Parser) ProduceAST

func (p *Parser) ProduceAST(input string) (*ast.Program, error)

func (*Parser) SetTokens added in v0.5.3

func (p *Parser) SetTokens(tokens []token_type.Token)

Jump to

Keyboard shortcuts

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