lang

package
v0.0.0-...-3f97f43 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLangKeyWordMap

func RegisterLangKeyWordMap(lang string, kwrdmap ...KeywordMap)

Types

type Compiler

type Compiler struct {
}

type Expression

type Expression struct {
}

type Instruction

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

type Instructions

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

type Keyword

type Keyword struct {
	Token         Token
	FutureKeyword bool
	Strict        bool
}

type KeywordMap

type KeywordMap map[string]*Keyword

func LangKeyWordMap

func LangKeyWordMap(lang string) (kwrdmap KeywordMap)

type Parser

type Parser struct {
}

func NewParser

func NewParser() (prsr *Parser)

func (*Parser) Parse

func (prsr *Parser) Parse(lang string, a ...interface{}) (prgrm *Program, err error)

type Program

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

type Token

type Token int

Jump to

Keyboard shortcuts

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