boolean_test_expr.go 246 B

12345678910111213141516
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type BooleanTest struct {
  6. Xpr ast.Node
  7. Arg ast.Node
  8. Booltesttype BoolTestType
  9. Location int
  10. }
  11. func (n *BooleanTest) Pos() int {
  12. return n.Location
  13. }