runtime

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MaxResolutionDepth = 16

Variables

This section is empty.

Functions

This section is empty.

Types

type CallRecord

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

func NewCallRecord

func NewCallRecord() *CallRecord

func (*CallRecord) ExistsVariable

func (cr *CallRecord) ExistsVariable(name string) bool

func (*CallRecord) SetVariable

func (cr *CallRecord) SetVariable(name, string, value values.Value)

type CallStack

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

func NewCallStack

func NewCallStack() *CallStack

func (*CallStack) ExistVariable

func (cs *CallStack) ExistVariable(name string) bool

type Environment

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

func NewEnvironment

func NewEnvironment() *Environment

func (*Environment) AddScript

func (e *Environment) AddScript(s *ast.Script) *parser.ParseErrors

func (*Environment) Build

func (e *Environment) Build() *parser.ParseError

type Package

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

func NewPackage

func NewPackage(name string, parent interfaces.Scope) *Package

func (*Package) AddFunction

func (p *Package) AddFunction(f *types.Function)

func (*Package) AssignMethodsToClasses

func (p *Package) AssignMethodsToClasses() *parser.ParseError

func (*Package) Id

func (p *Package) Id() string

func (*Package) InitScope

func (p *Package) InitScope(parent interfaces.Scope) *parser.ParseError

func (*Package) Kind

func (p *Package) Kind() interfaces.Kind

func (*Package) Scope

func (p *Package) Scope() interfaces.Scope

func (*Package) Specie

func (p *Package) Specie() interfaces.Specie

Jump to

Keyboard shortcuts

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