1
0

op_expr.go 319 B

123456789101112131415161718192021
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type OpExpr struct {
  6. Xpr ast.Node
  7. Opno Oid
  8. Opfuncid Oid
  9. Opresulttype Oid
  10. Opretset bool
  11. Opcollid Oid
  12. Inputcollid Oid
  13. Args *ast.List
  14. Location int
  15. }
  16. func (n *OpExpr) Pos() int {
  17. return n.Location
  18. }