function_parameter.go 243 B

12345678910111213141516
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type FunctionParameter struct {
  6. Name *string
  7. ArgType *TypeName
  8. Mode FunctionParameterMode
  9. Defexpr ast.Node
  10. }
  11. func (n *FunctionParameter) Pos() int {
  12. return 0
  13. }