SetOperation represents set operations (UNION, EXCEPT, INTERSECT) between two statements. It supports the ALL modifier (e.g., UNION ALL) and proper left-associative parsing. Phase 2 Complete: Full parser support with left-associative precedence.
| 149 | // It supports the ALL modifier (e.g., UNION ALL) and proper left-associative parsing. |
| 150 | // Phase 2 Complete: Full parser support with left-associative precedence. |
| 151 | type SetOperation struct { |
| 152 | Left Statement |
| 153 | Operator string // UNION, EXCEPT, INTERSECT |
| 154 | Right Statement |
| 155 | All bool // UNION ALL vs UNION |
| 156 | } |
| 157 | |
| 158 | func (s *SetOperation) statementNode() {} |
| 159 | func (s *SetOperation) queryExpressionNode() {} |
nothing calls this directly
no outgoing calls
no test coverage detected