Analyzer::Scala::Tapir
Inherits Analyzer::Scala::ScalaEngine < FileScanEngine < Analyzer < FileHelper < Reference < Object
Constants
Crystal recompiles an interpolated regex literal on every evaluation (a full PCRE2 JIT compile) — precompile the fixed per-verb matchers once at load time instead of per chain.
val limitParameter = query[Option[Int]]("limit")... — a reusable input
combinator bound to a val. Only the combinator core is captured so any
trailing .description(...) is dropped.
val UserPath = "user" (optionally /-joined literals). The captured
value is already in literal form, so substituting it back into a .in(...)
block lets the normal path-literal scan pick up the segments.
Type token allows one level of nested brackets (e.g. Option[String], List[User]).
Leading val NAME [: TYPE] = of a definition. Group 1 captures the name;
match.end marks where the right-hand side (the actual endpoint chain)
begins. =(?![=>]) avoids stopping on ==/=>.
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.