class Solargraph::TypeChecker::ParamDef
the args list in the def call, not the ‘@param` tags.
Data about a method parameter definition. This is the information from
def from pin
-
(Array
-)
Parameters:
-
pin
(Solargraph::Pin::Method
) --
def from pin result = [] pin.parameters.each do |par| result.push ParamDef.new(par.name, par.decl) end result end
def initialize name, type
def initialize name, type @name = name @type = type end