class Solargraph::Pin::Parameter

def initialize decl: :arg, asgn_code: nil, return_type: nil, **splat

Parameters:
  • return_type (ComplexType, nil) --
  • asgn_code (String, nil) --
  • decl (::Symbol) -- :arg, :optarg, :kwarg, :kwoptarg, :restarg, :kwrestarg, :block, :blockarg
def initialize decl: :arg, asgn_code: nil, return_type: nil, **splat
  super(**splat)
  @asgn_code = asgn_code
  @decl = decl
  @return_type = return_type
end