evaluator

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Evaluate added in v0.18.0

func Evaluate(node ast.Node, scope *object.Scope) object.Object

Evaluate is the heart of our evaluator. It switches off between the various AST node types and evaluates each accordingly and returns its value.

Types

type Evaluator added in v0.18.0

type Evaluator func(node ast.Node, scope *object.Scope) object.Object

Jump to

Keyboard shortcuts

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