aggref.go 537 B

123456789101112131415161718192021222324252627282930
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type Aggref struct {
  6. Xpr ast.Node
  7. Aggfnoid Oid
  8. Aggtype Oid
  9. Aggcollid Oid
  10. Inputcollid Oid
  11. Aggtranstype Oid
  12. Aggargtypes *ast.List
  13. Aggdirectargs *ast.List
  14. Args *ast.List
  15. Aggorder *ast.List
  16. Aggdistinct *ast.List
  17. Aggfilter ast.Node
  18. Aggstar bool
  19. Aggvariadic bool
  20. Aggkind byte
  21. Agglevelsup Index
  22. Aggsplit AggSplit
  23. Location int
  24. }
  25. func (n *Aggref) Pos() int {
  26. return n.Location
  27. }