evaluator

package
Version: v0.0.0-...-9834360 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(node ast.Node, env object.Environment) (object.RubyObject, error)

Eval evaluates the given node and traverses recursive over its children

func IsError

func IsError(obj object.RubyObject) bool

IsError returns true if the given RubyObject is an object.Error or an object.Exception (or any subclass of object.Exception)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL