Documentation ¶
Index ¶
- Variables
- func Append(arr interface{}, elems ...interface{}) (interface{}, error)
- func ComputeBinaryOp(xI, yI interface{}, op token.Token) (interface{}, error)
- func ComputeUnaryOp(xI interface{}, op token.Token) (interface{}, error)
- func Len(t interface{}) (interface{}, error)
- func Make(t interface{}, args ...interface{}) (interface{}, error)
- func NewActivity(metadata *activity.Metadata) activity.Activity
- func StringToType(str string) (reflect.Type, error)
- func ValuesToInterfaces(vals []reflect.Value) []interface{}
- type Scope
- func (s *Scope) Eval(str string) (interface{}, error)
- func (scope *Scope) Get(name string) (val interface{})
- func (scope *Scope) Interpret(expr ast.Node) (interface{}, error)
- func (scope *Scope) Keys() (keys []string)
- func (scope *Scope) NewChild() *Scope
- func (scope *Scope) Set(name string, val interface{})
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Append ¶
func Append(arr interface{}, elems ...interface{}) (interface{}, error)
Append is a runtime replacement for the append function
func ComputeBinaryOp ¶
ComputeBinaryOp executes the corresponding binary operation (+, -, etc) on two interfaces.
func ComputeUnaryOp ¶
ComputeUnaryOp computes the corresponding unary (+x, -x) operation on an interface.
func Len ¶
func Len(t interface{}) (interface{}, error)
Len is a runtime replacement for the len function
func Make ¶
func Make(t interface{}, args ...interface{}) (interface{}, error)
Make is a runtime replacement for the make function
func NewActivity ¶
NewActivity TCI Wi Activity
func StringToType ¶
StringToType returns the reflect.Type corresponding to the type string provided. Ex: StringToType("int")
func ValuesToInterfaces ¶
ValuesToInterfaces converts a slice of []reflect.Value to []interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.