env

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: MPL-2.0 Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMap2

func NewMap2() map2

func NewStack

func NewStack() stack

Types

type Environment

type Environment struct {
	// Lexical
	BlockTag   stack
	TagbodyTag stack
	Function   stack
	Variable   stack

	// Global
	Class    stack
	Macro    stack
	Special  stack
	Property map2
	Constant stack

	// Dynamic
	CatchTag        stack
	DynamicVariable stack // deep biding
	StandardInput   ilos.Instance
	StandardOutput  ilos.Instance
	ErrorOutput     ilos.Instance
	Handler         ilos.Instance
}

Environment struct is the struct for keeping functions and variables

func NewEnvironment

func NewEnvironment(stdin, stdout, stderr, handler ilos.Instance) Environment

New creates new eironment

func (*Environment) MergeLexical

func (e *Environment) MergeLexical(before Environment)

func (*Environment) NewDynamic

func (before *Environment) NewDynamic() Environment

func (*Environment) NewLexical

func (before *Environment) NewLexical() Environment

Jump to

Keyboard shortcuts

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