eval

package
v0.0.0-...-f267e1b Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExportKey string = "exports"

Functions

This section is empty.

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

func NewEnv

func NewEnv() *Env

func (*Env) AddBuiltin

func (e *Env) AddBuiltin(name string, val starlark.Value)

func (*Env) EvalFile

func (e *Env) EvalFile(filename string) ([]starlark.Value, error)

func (*Env) EvalString

func (e *Env) EvalString(value string, env starlark.StringDict) (starlark.Value, error)

Jump to

Keyboard shortcuts

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