null_test_expr.go 259 B

1234567891011121314151617
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type NullTest struct {
  6. Xpr ast.Node
  7. Arg ast.Node
  8. Nulltesttype NullTestType
  9. Argisrow bool
  10. Location int
  11. }
  12. func (n *NullTest) Pos() int {
  13. return n.Location
  14. }