xml_expr.go 342 B

12345678910111213141516171819202122
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type XmlExpr struct {
  6. Xpr ast.Node
  7. Op XmlExprOp
  8. Name *string
  9. NamedArgs *ast.List
  10. ArgNames *ast.List
  11. Args *ast.List
  12. Xmloption XmlOptionType
  13. Type Oid
  14. Typmod int32
  15. Location int
  16. }
  17. func (n *XmlExpr) Pos() int {
  18. return n.Location
  19. }