grouping_set.go 215 B

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