LinearMethodsList-class {methods} | R Documentation |
A version of methods lists that has been “linearized”
for producing summary information. The actual objects from class
"MethodsList"
used for method dispatch are defined recursively
over the arguments involved.
The function linearizeMlist
converts an ordinary methods
list object into the linearized form.
methods
:"list"
, the method
definitions.arguments
:"list"
, the
corresponding formal arguments. classes
:"list"
, the
corresponding classes in the signatures. fromClasses
:"list"
The current version of linearizeMlist
does not take advantage of
the MethodDefinition
class, and therefore does more work for less
effect than it could. In particular, we may move to redefine both the
function and the class to take advantage of the stored signatures.
Don't write code depending precisely on the present form, although all
the current information will be obtainable in the future.
Function linearizeMlist
for the computation,
and MethodsList-class
for the original, recursive form.