range_table_sample.go 267 B

1234567891011121314151617
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type RangeTableSample struct {
  6. Relation ast.Node
  7. Method *ast.List
  8. Args *ast.List
  9. Repeatable ast.Node
  10. Location int
  11. }
  12. func (n *RangeTableSample) Pos() int {
  13. return n.Location
  14. }