Analyzer::Kotlin::Ktor
Inherits Analyzer < FileHelper < Reference < Object
Constants
KOTLIN_EXTENSION = "kt"
POTENTIAL_KTOR_ROUTE_RE = Regex.union("routing", "io.ktor.server.routing", "Route.")
One precompiled Regex.union scan (PCRE2 JIT, auto-escapes each
literal) replaces the three OR-ed String#includes? passes over the
same buffer — this gate runs once per Kotlin file in the scan.
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.