row_expr.go 263 B

123456789101112131415161718
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type RowExpr struct {
  6. Xpr ast.Node
  7. Args *ast.List
  8. RowTypeid Oid
  9. RowFormat CoercionForm
  10. Colnames *ast.List
  11. Location int
  12. }
  13. func (n *RowExpr) Pos() int {
  14. return n.Location
  15. }