sql_value_function.go 257 B

1234567891011121314151617
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type SQLValueFunction struct {
  6. Xpr ast.Node
  7. Op SQLValueFunctionOp
  8. Type Oid
  9. Typmod int32
  10. Location int
  11. }
  12. func (n *SQLValueFunction) Pos() int {
  13. return n.Location
  14. }