case_when.go 220 B

12345678910111213141516
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type CaseWhen struct {
  6. Xpr ast.Node
  7. Expr ast.Node
  8. Result ast.Node
  9. Location int
  10. }
  11. func (n *CaseWhen) Pos() int {
  12. return n.Location
  13. }