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
:Object of class "function"
; the data
part of the definition.
target
:Object of class "signature"
; the
signature for which the method was wanted.
defined
:Object of class "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
.