(op string)
| 21 | } |
| 22 | |
| 23 | func AllowedNegateSuffix(op string) bool { |
| 24 | switch op { |
| 25 | case "contains", "matches", "startsWith", "endsWith", "in": |
| 26 | return true |
| 27 | default: |
| 28 | return false |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | var Unary = map[string]Operator{ |
| 33 | "not": {50, Left}, |
no outgoing calls
no test coverage detected
searching dependent graphs…