eval

package
v0.0.0-...-f7f3288 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CtxKey string = "ctx"
View Source
var FileKey string = "file"

Functions

This section is empty.

Types

type Env

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

func NewEnv

func NewEnv() *Env

func (*Env) AddCtx

func (e *Env) AddCtx(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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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