ComparisonNode represents comparison operations like ==, !=, <, >, <=, >=
| 187 | |
| 188 | // ComparisonNode represents comparison operations like ==, !=, <, >, <=, >= |
| 189 | type ComparisonNode struct { |
| 190 | Left ConditionNode |
| 191 | Operator string |
| 192 | Right ConditionNode |
| 193 | } |
| 194 | |
| 195 | func (c *ComparisonNode) Render() string { |
| 196 | return c.Left.Render() + " " + c.Operator + " " + c.Right.Render() |
nothing calls this directly
no outgoing calls
no test coverage detected