MCPcopy Create free account
hub / github.com/araddon/qlbridge / Negated

Method Negated

expr/node.go:117–117  ·  view source on GitHub ↗

Negated Say if this node is negateable (it may not be), If the node is negateable, we may collapse an surrounding negation into here

()

Source from the content-addressed store, hash-verified

115 // Negated Say if this node is negateable (it may not be), If the node
116 // is negateable, we may collapse an surrounding negation into here
117 Negated() bool
118 // ReverseNegation if Possible: for instance:
119 // "A" NOT IN ("a","b") => "A" IN ("a","b")
120 ReverseNegation() bool

Callers 6

resolveIncludeFunction · 0.65
walkExprMethod · 0.65
walkExprMethod · 0.65
walkIncludeFunction · 0.65
walkBooleanFunction · 0.65
TestFilterQLAstCheckFunction · 0.65

Implementers 3

BooleanNodeexpr/node.go
TriNodeexpr/node.go
IncludeNodeexpr/node.go

Calls

no outgoing calls

Tested by 1

TestFilterQLAstCheckFunction · 0.52