evaluator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Null object declaration
	Null = &object.Null{}
	// True object declaration
	True = &object.Boolean{Value: true}
	// False object declaration
	False = &object.Boolean{Value: false}
)

Functions

func Eval

func Eval(node ast.Node, env *object.Environment) object.Object

Eval runs the evaluator on each node in the AST

Types

This section is empty.

Jump to

Keyboard shortcuts

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