SCM

SCM Repository

[inlinedocs] Diff of /pkg/inlinedocs/R/parsers.R
ViewVC logotype

Diff of /pkg/inlinedocs/R/parsers.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 383, Fri Jul 12 12:52:13 2013 UTC revision 389, Tue Sep 3 04:33:09 2013 UTC
# Line 508  Line 508 
508        ## Look for a generic function (known by the system or defined        ## Look for a generic function (known by the system or defined
509        ## in the package) that matches that part of the function name        ## in the package) that matches that part of the function name
510        generic <- paste(parts[1:i], collapse = ".")        generic <- paste(parts[1:i], collapse = ".")
511        if (any(generic %in% utils:::getKnownS3generics()) ||        if (any(generic %in% getKnownS3generics()) ||
512            utils:::findGeneric(generic, env) != "") {            findGeneric(generic, env) != "") {
513          object <- paste(parts[(i + 1):l], collapse = ".")          object <- paste(parts[(i + 1):l], collapse = ".")
514          ##details<< Assumes that the first name which matches any known          ##details<< Assumes that the first name which matches any known
515          ## generics is the target generic function, so if both x and x.y          ## generics is the target generic function, so if both x and x.y

Legend:
Removed from v.383  
changed lines
  Added in v.389

R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge