Analyzer::R::Plumber
Inherits Analyzer < FileHelper < Reference < Object
Constants
A name that can stand for something a client actually sends. Rules out
the variadic ... (and ..1, ..2), which both the formals parser and
PARAM_ANNOTATION accept and which used to be emitted verbatim as a
parameter named ..., plus leading-digit/dash tokens that are not
identifiers at all — what those really signal is that the argument list
did not parse.
Matches R function declaration: function(...)
Arguments plumber injects into a handler rather than reading off the
request. function(req, res, msg = "") is the shape the official
plumber template ships with, so reporting req/res as client-supplied
parameters put two phantom entries on almost every real endpoint — and,
for a POST, two phantom JSON body fields in the rendered request.
Matches lines like: #* @param name Description
r$get("/path", handler)
r$handle("GET", "/path", handler)
pr_handle(pr, "GET", "/path", handler)
Programmatic routes: pr_get("/path", handler)
Matches lines like: #* @get /path or #* @post /path
Class methods
Instance methods
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.