with_clause.go 205 B

123456789101112131415
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type WithClause struct {
  6. Ctes *ast.List
  7. Recursive bool
  8. Location int
  9. }
  10. func (n *WithClause) Pos() int {
  11. return n.Location
  12. }