The R Project SVN R

Rev

Rev 69639 | Rev 74363 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69639 Rev 70405
Line 39... Line 39...
39
\alias{setPrimitiveMethods}
39
\alias{setPrimitiveMethods}
40
\alias{missingArg}
40
\alias{missingArg}
41
\alias{balanceMethodsList}
41
\alias{balanceMethodsList}
42
\alias{sigToEnv}
42
\alias{sigToEnv}
43
\alias{rematchDefinition}
43
\alias{rematchDefinition}
-
 
44
\alias{isRematched}
44
\alias{unRematchDefinition}
45
\alias{unRematchDefinition}
45
\alias{addNextMethod,MethodDefinition-method}
46
\alias{addNextMethod,MethodDefinition-method}
46
\alias{addNextMethod,MethodWithNext-method}
47
\alias{addNextMethod,MethodWithNext-method}
47
\alias{addNextMethod}
48
\alias{addNextMethod}
48
\alias{.valueClassTest}
49
\alias{.valueClassTest}
Line 96... Line 97...
96
 
97
 
97
sigToEnv(signature, generic)
98
sigToEnv(signature, generic)
98
 
99
 
99
rematchDefinition(definition, generic, mnames, fnames, signature)
100
rematchDefinition(definition, generic, mnames, fnames, signature)
100
unRematchDefinition(definition)
101
unRematchDefinition(definition)
-
 
102
isRematched(definition)
101
 
103
 
102
asMethodDefinition(def, signature, sealed = FALSE, fdef)
104
asMethodDefinition(def, signature, sealed = FALSE, fdef)
103
 
105
 
104
addNextMethod(method, f, mlist, optional, envir)
106
addNextMethod(method, f, mlist, optional, envir)
105
 
107
 
Line 257... Line 259...
257
      Flag, used in dynamically initializing the methods package from
259
      Flag, used in dynamically initializing the methods package from
258
      \code{.onLoad}.
260
      \code{.onLoad}.
259
    }
261
    }
260
 
262
 
261
    \item{\code{rematchDefinition},
263
    \item{\code{rematchDefinition},
262
      \code{unRematchDefinition}:}{
264
      \code{unRematchDefinition},
-
 
265
      \code{isRematched}:}{
263
      If the specified method in a call to \code{\link{setMethod}}
266
      If the specified method in a call to \code{\link{setMethod}}
264
      specializes the argument list (by replacing \dots), then
267
      specializes the argument list (by replacing \dots), then
265
      \code{rematchDefinition} constructs the actual method stored.
268
      \code{rematchDefinition} constructs the actual method stored.
266
      Using knowledge of how \code{rematchDefinition} works,
269
      Using knowledge of how \code{rematchDefinition} works,
267
      \code{unRematchDefinition} reverses the procedure; if given a
270
      \code{unRematchDefinition} reverses the procedure; if given a
268
      function or method definition that does not correspond to this
271
      function or method definition that does not correspond to this
269
      form, it just returns its argument.
272
      form, it just returns its argument. \code{isRematched} returns a
-
 
273
      logical value indicating whether rematching was used when
-
 
274
      constructing a given method.
270
    }
275
    }
271
 
276
 
272
    \item{\code{asMethodDefinition}:}{
277
    \item{\code{asMethodDefinition}:}{
273
      Turn a function definition into an object of class
278
      Turn a function definition into an object of class
274
      \code{\linkS4class{MethodDefinition}}, corresponding to the
279
      \code{\linkS4class{MethodDefinition}}, corresponding to the