WhenClause represents WHEN ... THEN ... in CASE expression
| 777 | |
| 778 | // WhenClause represents WHEN ... THEN ... in CASE expression |
| 779 | type WhenClause struct { |
| 780 | Condition Expression |
| 781 | Result Expression |
| 782 | Pos models.Location // Source position of the WHEN keyword (1-based line and column) |
| 783 | } |
| 784 | |
| 785 | func (w *WhenClause) expressionNode() {} |
| 786 | func (w WhenClause) TokenLiteral() string { return "WHEN" } |
nothing calls this directly
no outgoing calls
no test coverage detected