Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Binary = map[string]Operator{ "|": {0, Left}, "or": {10, Left}, "||": {10, Left}, "and": {15, Left}, "&&": {15, Left}, "==": {20, Left}, "!=": {20, Left}, "<": {20, Left}, ">": {20, Left}, ">=": {20, Left}, "<=": {20, Left}, "in": {20, Left}, "matches": {20, Left}, "contains": {20, Left}, "startsWith": {20, Left}, "endsWith": {20, Left}, "..": {25, Left}, "+": {30, Left}, "-": {30, Left}, "*": {60, Left}, "/": {60, Left}, "%": {60, Left}, "**": {100, Right}, "^": {100, Right}, "??": {500, Left}, }
Functions ¶
Types ¶
type Operator ¶
type Operator struct { Precedence int Associativity Associativity }
Click to show internal directories.
Click to hide internal directories.