def_elem.go 260 B

1234567891011121314151617
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type DefElem struct {
  6. Defnamespace *string
  7. Defname *string
  8. Arg ast.Node
  9. Defaction DefElemAction
  10. Location int
  11. }
  12. func (n *DefElem) Pos() int {
  13. return n.Location
  14. }