operators

package
v0.0.0-...-97dcd37 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package operators defines the internal function names of operators.

ALl operators in the expression language are modelled as function calls.

Index

Constants

View Source
const (
	Conditional   = "_?_:_"
	LogicalAnd    = "_&&_"
	LogicalOr     = "_||_"
	LogicalNot    = "!_"
	In            = "_in_"
	Equals        = "_==_"
	NotEquals     = "_!=_"
	Less          = "_<_"
	LessEquals    = "_<=_"
	Greater       = "_>_"
	GreaterEquals = "_>=_"
	Add           = "_+_"
	Subtract      = "_-_"
	Multiply      = "_*_"
	Divide        = "_/_"
	Modulo        = "_%_"
	Negate        = "-_"
	Index         = "_[_]"
	Has           = "has"
	All           = "all"
	Exists        = "exists"
	ExistsOne     = "exists_one"
	Map           = "map"
	Filter        = "filter"
)

Variables

This section is empty.

Functions

func Find

func Find(text string) (string, bool)

Find the internal function name for an operator, if the input text is one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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