res_target.go 234 B

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