Analyzer::Specification::Caddy
Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object
Constants
HANDLE_OPEN_RE = /^handle(_path)?\s+(\S+)\s*\{?/
HANDLE_REF_RE = /^(?:handle(?:_path)?|route)\s+(@[A-Za-z_]\w*)\s*\{?/
METHOD_ANY = "ANY"
METHOD_RE = /^method\s+(.+)/
NAMED_MATCH_OPEN = /^(@[A-Za-z_]\w*)\s*\{?/
PATH_RE = /^path\s+(.+)/
REDIR_RE = /^redir\s+(\S+)\s+(\S+)/
RESPOND_RE = /^respond\s+(\S+)/
ROUTE_OPEN_RE = /^route\s+(\S+)\s*\{?/
SITE_BLOCK_RE = /^([A-Za-z0-9_.:\/@*?-]+(?:\s*,\s*[A-Za-z0-9_.:\/@*?-]+)*)\s*\{$/
Class methods
tech_name
SourceInstance methods
analyze
Sourcetech
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.