MethodDefinition-class {methods} | R Documentation |
These classes extend the basic class "function"
when
functions are to be stored and used as method definitions.
Objects can be created by calls of the form new("MethodDefinition", ...)
.
~~ describe objects here ~~
.Data
:"function"
; the data
part of the definition. target
:"signature"
; the
signature for which the method was wanted. defined
:"signature"
; the
signature for which a method was found. If the method was
inherited, this will not be identical to target
.
Class "function"
, from data part.
Class "PossibleMethod"
, directly.
Class "OptionalMethods"
, by class "function".
signature(method = "MethodDefinition")
: ... signature(method = "MethodDefinition")
: ... signature(object = "MethodDefinition")
: ...
See
MethodWithNext-class
for an extension used by callNextMethod
.