interpreter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interpreter

type Interpreter struct {
	I *interp.Interpreter
	// contains filtered or unexported fields
}

func New

func New(opts *Options) *Interpreter

func (*Interpreter) Eval

func (i *Interpreter) Eval(src string) error

func (*Interpreter) EvalPath

func (i *Interpreter) EvalPath(path string) error

func (*Interpreter) Models

func (i *Interpreter) Models() []model.Model

type Options

type Options struct {
	ObjectContext *object.Context
}

Jump to

Keyboard shortcuts

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