named_arg_expr.go 246 B

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