range_table_func.go 299 B

12345678910111213141516171819
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type RangeTableFunc struct {
  6. Lateral bool
  7. Docexpr ast.Node
  8. Rowexpr ast.Node
  9. Namespaces *ast.List
  10. Columns *ast.List
  11. Alias *Alias
  12. Location int
  13. }
  14. func (n *RangeTableFunc) Pos() int {
  15. return n.Location
  16. }