Documentation ¶
Index ¶
- Constants
- func BoolFromString(d string) interface{}
- func BoolToString(e *Elem) string
- func CallFromString(d string) interface{}
- func CallToString(e *Elem) string
- func FloatFromString(d string) interface{}
- func FloatToString(e *Elem) string
- func GenericFunFun(ts *TwoStack, e1 *Elem, f FunFun) error
- func GenericGenFun(ts *TwoStack, f GenFun) error
- func GenericOpFun(ts *TwoStack, e1 *Elem, e2 *Elem, f OpFun) error
- func IntFromString(d string) interface{}
- func IntToString(e *Elem) string
- func IterPost(ts *TwoStack) bool
- func IterPre(ts *TwoStack) bool
- func NoneFromString(d string) interface{}
- func NoneToString(e *Elem) string
- func OnlyIf42(e1 *Elem) bool
- func PassthroughFilter(e1 *Elem) bool
- func StringFromString(d string) interface{}
- func StringToString(e *Elem) string
- func TSCellIterator(ts *TwoStack, fpre TSIterp_f, f TSIter_f, fpost TSIterp_f) bool
- func TSGlobalIterator(ts *TwoStack, fpre TSIterp_f, f TSIter_f, fpost TSIterp_f) bool
- func TSGlobalTaker(ts *TwoStack, fpre TSIterp_f, f TSIter_f, fpost TSIterp_f) bool
- func TSIterator(ts *TwoStack, q *deque.Deque, fpre TSIterp_f, f TSIter_f, fpost TSIterp_f)
- type ApplyFunFun
- type ApplyGenFun
- type ApplyOpFun
- type Elem
- func Answer() (*Elem, error)
- func Bool(name string, v bool, labels ...string) *Elem
- func Call(name string, v string, labels ...string) *Elem
- func Float(name string, v float64, labels ...string) *Elem
- func GiveAnswer(kv *cmap.Cmap, p *mapset.Set) (*Elem, error)
- func Int(name string, v int, labels ...string) *Elem
- func Int64(name string, v int64, labels ...string) *Elem
- func MakeBool(name string, p string, labels ...string) *Elem
- func MakeCall(name string, p string, labels ...string) *Elem
- func MakeFloat(name string, p string, labels ...string) *Elem
- func MakeInt(name string, p string, labels ...string) *Elem
- func MakeNone(name string, p string, labels ...string) *Elem
- func MakeString(name string, p string, labels ...string) *Elem
- func NewElem(name string, t int, val interface{}, labels ...string) *Elem
- func None(name string, labels ...string) *Elem
- func NumericAdd(e1 *Elem, e2 *Elem) (*Elem, error)
- func NumericIncrease(e1 *Elem) (*Elem, error)
- func NumericIncreaseIfNum(e1 *Elem) (*Elem, error)
- func Passthrough(e1 *Elem) (*Elem, error)
- func String(name string, v string, labels ...string) *Elem
- type EvalFun
- type FilterFun
- type FromStringFun
- type FunFun
- type GenFun
- type NS
- type OpFun
- type TSIter_f
- type TSIterp_f
- type ToStringFun
- type TwoStack
- func (ts *TwoStack) Add()
- func (ts *TwoStack) ApplyFun(f FunFun) (*Elem, error)
- func (ts *TwoStack) ApplyFunAll(f FunFun) (*Elem, error)
- func (ts *TwoStack) ApplyGen(f GenFun) (*Elem, error)
- func (ts *TwoStack) ApplyOp(f OpFun) (*Elem, error)
- func (ts *TwoStack) ApplyOpAll(f OpFun) (*Elem, error)
- func (ts *TwoStack) CLeft()
- func (ts *TwoStack) CRight()
- func (ts *TwoStack) CZip() error
- func (ts *TwoStack) Del()
- func (ts *TwoStack) Eval(f EvalFun) (*Elem, error)
- func (ts *TwoStack) Float() float64
- func (ts *TwoStack) G() (interface{}, error)
- func (ts *TwoStack) GLen() int
- func (ts *TwoStack) GMerge() error
- func (ts *TwoStack) GZip() error
- func (ts *TwoStack) Get() (interface{}, error)
- func (ts *TwoStack) GetBool() (bool, error)
- func (ts *TwoStack) GetCall() (string, error)
- func (ts *TwoStack) GetElem() (*Elem, error)
- func (ts *TwoStack) GetFloat() (float64, error)
- func (ts *TwoStack) GetInt() (int64, error)
- func (ts *TwoStack) GetString() (string, error)
- func (ts *TwoStack) Left()
- func (ts *TwoStack) Len() int
- func (ts *TwoStack) MakeBool(p string, labels ...string)
- func (ts *TwoStack) MakeCall(p string, labels ...string)
- func (ts *TwoStack) MakeFloat(p string, labels ...string)
- func (ts *TwoStack) MakeInt(p string, labels ...string)
- func (ts *TwoStack) MakeString(p string, labels ...string)
- func (ts *TwoStack) Normal()
- func (ts *TwoStack) Put(d interface{}, labels ...string) bool
- func (ts *TwoStack) Q() *deque.Deque
- func (ts *TwoStack) Reverse()
- func (ts *TwoStack) Right()
- func (ts *TwoStack) Set(data interface{})
- func (ts *TwoStack) SetBool(v bool, labels ...string)
- func (ts *TwoStack) SetCall(v string, labels ...string)
- func (ts *TwoStack) SetElem(e *Elem)
- func (ts *TwoStack) SetFloat(v float64, labels ...string)
- func (ts *TwoStack) SetIF(f FunFun)
- func (ts *TwoStack) SetIFilter(f FilterFun)
- func (ts *TwoStack) SetInt(v int, labels ...string)
- func (ts *TwoStack) SetInt64(v int64, labels ...string)
- func (ts *TwoStack) SetString(v string, labels ...string)
- func (ts *TwoStack) StopIF()
- func (ts *TwoStack) StopIFilter()
- func (ts *TwoStack) String() string
- func (ts *TwoStack) T() (interface{}, error)
- func (ts *TwoStack) Take() (interface{}, error)
- func (ts *TwoStack) TakeBool() (bool, error)
- func (ts *TwoStack) TakeCall() (string, error)
- func (ts *TwoStack) TakeElem() (*Elem, error)
- func (ts *TwoStack) TakeFloat() (float64, error)
- func (ts *TwoStack) TakeInt() (int64, error)
- func (ts *TwoStack) TakeString() (string, error)
Constants ¶
View Source
const ( Bool_t = 0 Int_t = 1 Float_t = 2 String_t = 3 Duration_t = 4 Call_t = 5 None_t = 99 )
View Source
const ( GT = 10 GTE = 11 LS = 20 LSE = 21 EQ = 0 NEQ = 1 IDK = 99 )
Variables ¶
This section is empty.
Functions ¶
func BoolFromString ¶
func BoolFromString(d string) interface{}
func BoolToString ¶
func CallFromString ¶
func CallFromString(d string) interface{}
func CallToString ¶
func FloatFromString ¶
func FloatFromString(d string) interface{}
func FloatToString ¶
func GenericGenFun ¶
func IntFromString ¶
func IntFromString(d string) interface{}
func IntToString ¶
func NoneFromString ¶
func NoneFromString(d string) interface{}
func NoneToString ¶
func PassthroughFilter ¶
func StringFromString ¶
func StringFromString(d string) interface{}
func StringToString ¶
func TSCellIterator ¶
func TSGlobalIterator ¶
func TSGlobalTaker ¶
Types ¶
type ApplyGenFun ¶
type Elem ¶
type Elem struct { Type int V interface{} Name string Labels mapset.Set FromString FromStringFun ToString ToStringFun Op ApplyOpFun F ApplyFunFun G ApplyGenFun }
func NumericIncrease ¶
func NumericIncreaseIfNum ¶
func Passthrough ¶
type FromStringFun ¶
type FromStringFun func(d string) interface{}
type NS ¶
type ToStringFun ¶
type TwoStack ¶
type TwoStack struct { R deque.Deque C cmap.Cmap ID string Status bool Mode bool IsIF bool InstF FunFun IsFF bool InstFF FilterFun // contains filtered or unexported fields }
func (*TwoStack) MakeString ¶
func (*TwoStack) SetIFilter ¶
func (*TwoStack) StopIFilter ¶
func (ts *TwoStack) StopIFilter()
func (*TwoStack) TakeString ¶
Source Files ¶
- cotext.go
- ns.go
- stdlib_eval.go
- stdlib_fun.go
- stdlib_gen.go
- stdlib_op.go
- twostack.go
- twostack_iter.go
- twostack_string.go
- twostack_tmp.go
- twostack_zip.go
- value.go
- value_apply.go
- value_bool.go
- value_call.go
- value_duplicate.go
- value_float64.go
- value_instantfun.go
- value_int64.go
- value_none.go
- value_string.go
Click to show internal directories.
Click to hide internal directories.