On Fri, Nov 4, 2016 at 6:31 PM, David Anthoff <anth...@berkeley.edu> wrote: > Is there a way to get the names of the parameters of a method from a Method > type instance on julia 0.5?
Roughly: nargs tell you how many arguments the method accepts, the first one being the object (function) being called. The local variables names are available in the CodeInfo.slotnames and the first nargs ones are the parameter names. The CodeInfo can be found in the source field of the method for non-generated functions and unspecialized.inferred for generated function. > > > > Thanks, > > David