Documentation ¶
Index ¶
- Variables
- func Floatify(arg interface{}) (float64, error)
- func GetElement(positions interface{}, argument interface{}, leafExpression jql.Expression) (interface{}, error)
- func IsTruthy(value interface{}) bool
- func NewAnd(ts ...jql.Expression) (jql.Expression, error)
- func NewArray(ts ...jql.Expression) (jql.Expression, error)
- func NewElement(ts ...jql.Expression) (jql.Expression, error)
- func NewEqual(ts ...jql.Expression) (jql.Expression, error)
- func NewError(ts ...jql.Expression) (jql.Expression, error)
- func NewFilter(ts ...jql.Expression) (jql.Expression, error)
- func NewGreaterThan(ts ...jql.Expression) (jql.Expression, error)
- func NewIdentity(ts ...jql.Expression) (jql.Expression, error)
- func NewIfTE(ts ...jql.Expression) (jql.Expression, error)
- func NewJoin(ts ...jql.Expression) (jql.Expression, error)
- func NewKeys(ts ...jql.Expression) (jql.Expression, error)
- func NewLessThan(ts ...jql.Expression) (jql.Expression, error)
- func NewNot(ts ...jql.Expression) (jql.Expression, error)
- func NewObject(ts ...jql.Expression) (jql.Expression, error)
- func NewOr(ts ...jql.Expression) (jql.Expression, error)
- func NewPipe(ts ...jql.Expression) (jql.Expression, error)
- func NewRange(ts ...jql.Expression) (jql.Expression, error)
- func NewRecover(ts ...jql.Expression) (jql.Expression, error)
- func NewSprintf(ts ...jql.Expression) (jql.Expression, error)
- func NewZip(ts ...jql.Expression) (jql.Expression, error)
- type And
- type Array
- type Element
- type Equal
- type Error
- type Filter
- type GreaterThan
- type Identity
- type IfTE
- type Join
- type Keys
- type LessThan
- type Not
- type Object
- type Or
- type Pipe
- type Range
- type Recover
- type Sprintf
- type Zip
Constants ¶
This section is empty.
Variables ¶
View Source
var Functions = map[string]func(ts ...jql.Expression) (jql.Expression, error){ "elem": NewElement, "keys": NewKeys, "id": NewIdentity, "array": NewArray, "object": NewObject, "pipe": NewPipe, "sprintf": NewSprintf, "join": NewJoin, "filter": NewFilter, "eq": NewEqual, "lt": NewLessThan, "gt": NewGreaterThan, "range": NewRange, "and": NewAnd, "or": NewOr, "not": NewNot, "ifte": NewIfTE, "error": NewError, "recover": NewRecover, "zip": NewZip, }
Functions ¶
func GetElement ¶
func GetElement(positions interface{}, argument interface{}, leafExpression jql.Expression) (interface{}, error)
func NewAnd ¶
func NewAnd(ts ...jql.Expression) (jql.Expression, error)
func NewArray ¶
func NewArray(ts ...jql.Expression) (jql.Expression, error)
func NewElement ¶
func NewElement(ts ...jql.Expression) (jql.Expression, error)
func NewEqual ¶
func NewEqual(ts ...jql.Expression) (jql.Expression, error)
func NewError ¶
func NewError(ts ...jql.Expression) (jql.Expression, error)
func NewFilter ¶
func NewFilter(ts ...jql.Expression) (jql.Expression, error)
func NewGreaterThan ¶
func NewGreaterThan(ts ...jql.Expression) (jql.Expression, error)
func NewIdentity ¶
func NewIdentity(ts ...jql.Expression) (jql.Expression, error)
func NewIfTE ¶
func NewIfTE(ts ...jql.Expression) (jql.Expression, error)
func NewJoin ¶
func NewJoin(ts ...jql.Expression) (jql.Expression, error)
func NewKeys ¶
func NewKeys(ts ...jql.Expression) (jql.Expression, error)
func NewLessThan ¶
func NewLessThan(ts ...jql.Expression) (jql.Expression, error)
func NewNot ¶
func NewNot(ts ...jql.Expression) (jql.Expression, error)
func NewObject ¶
func NewObject(ts ...jql.Expression) (jql.Expression, error)
func NewOr ¶
func NewOr(ts ...jql.Expression) (jql.Expression, error)
func NewPipe ¶
func NewPipe(ts ...jql.Expression) (jql.Expression, error)
func NewRange ¶
func NewRange(ts ...jql.Expression) (jql.Expression, error)
func NewRecover ¶
func NewRecover(ts ...jql.Expression) (jql.Expression, error)
func NewSprintf ¶
func NewSprintf(ts ...jql.Expression) (jql.Expression, error)
func NewZip ¶ added in v0.2.0
func NewZip(ts ...jql.Expression) (jql.Expression, error)
Types ¶
type And ¶
type And struct {
Values []jql.Expression
}
type Array ¶
type Array struct {
Values []jql.Expression
}
type Element ¶
type Element struct { Positions jql.Expression ValueExpression jql.Expression }
type Equal ¶
type Equal struct { Left jql.Expression Right jql.Expression }
type Error ¶
type Error struct {
Message jql.Expression
}
type Filter ¶
type Filter struct { Predicate jql.Expression Expression jql.Expression }
type GreaterThan ¶
type GreaterThan struct { Left jql.Expression Right jql.Expression }
func (GreaterThan) Get ¶
func (t GreaterThan) Get(arg interface{}) (interface{}, error)
type IfTE ¶
type IfTE struct { If jql.Expression Then jql.Expression Else jql.Expression }
type Join ¶
type Join struct { Strings jql.Expression Separator jql.Expression }
type LessThan ¶
type LessThan struct { Left jql.Expression Right jql.Expression }
type Not ¶
type Not struct {
Value jql.Expression
}
type Object ¶
type Object struct { Keys []jql.Expression Values []jql.Expression }
type Or ¶
type Or struct {
Values []jql.Expression
}
type Pipe ¶
type Pipe struct {
Expressions []jql.Expression
}
type Range ¶
type Range struct { Begin jql.Expression End jql.Expression }
type Recover ¶
type Recover struct {
Expression jql.Expression
}
type Sprintf ¶
type Sprintf struct { Format jql.Expression Expressions []jql.Expression }
Click to show internal directories.
Click to hide internal directories.