Documentation ¶
Index ¶
- Variables
- func DefaultExpression[T ref.References[T]]() gval.Language
- func DefaultTemplate[T ref.References[T]]() gval.Language
- func InfixOperationAnnotation(name string) evaluate.Annotation
- func OperandAnnotation(n int) evaluate.Annotation
- func PrefixOperationAnnotation(name string) evaluate.Annotation
- type Language
- type Option
- type Options
- type WithEagerEvaluation
- type WithFunctionMap
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ExpressionAnnotation = evaluate.Annotation{
Name: "leg.relay.sh/expression",
Description: "expression",
}
)
Functions ¶
func DefaultExpression ¶
func DefaultExpression[T ref.References[T]]() gval.Language
func DefaultTemplate ¶
func DefaultTemplate[T ref.References[T]]() gval.Language
func InfixOperationAnnotation ¶
func InfixOperationAnnotation(name string) evaluate.Annotation
func OperandAnnotation ¶
func OperandAnnotation(n int) evaluate.Annotation
func PrefixOperationAnnotation ¶
func PrefixOperationAnnotation(name string) evaluate.Annotation
Types ¶
type Language ¶
type Language[T ref.References[T]] struct { // contains filtered or unexported fields }
func (*Language[T]) Expression ¶
type Option ¶
type Option[T ref.References[T]] interface { ApplyToOptions(target *Options[T]) }
type Options ¶
type Options[T ref.References[T]] struct { FunctionMap fn.Map[T] EagerEvaluation bool }
func (*Options[T]) ApplyOptions ¶
func (*Options[T]) ApplyToOptions ¶
type WithEagerEvaluation ¶
type WithEagerEvaluation[T ref.References[T]] bool
func (WithEagerEvaluation[T]) ApplyToOptions ¶
func (wee WithEagerEvaluation[T]) ApplyToOptions(target *Options[T])
type WithFunctionMap ¶
type WithFunctionMap[T ref.References[T]] struct{ fn.Map[T] }
func (WithFunctionMap[T]) ApplyToOptions ¶
func (wfm WithFunctionMap[T]) ApplyToOptions(target *Options[T])
Click to show internal directories.
Click to hide internal directories.