column_ref.go 185 B

1234567891011121314
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type ColumnRef struct {
  6. Fields *ast.List
  7. Location int
  8. }
  9. func (n *ColumnRef) Pos() int {
  10. return n.Location
  11. }