Analyzer::Crystal::Http
Inherits Analyzer::Crystal::CrystalEngine < FileScanEngine < Analyzer < FileHelper < Reference < Object
Constants
Precompiled regexes (avoid repeated compilation of interpolated literals inside the per-line hot path; mirrors the VERB_ROUTE_PATTERNS approach in grip.cr).
Class methods
Instance methods
in_path_case is only used to gate the unconditional when matcher.
The explicit method && path and path == checks are safe to run unconditionally
(they mention the request objects) and are therefore handled the same way inside/outside.
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.