Analyzer::Cpp::Oatpp
Inherits Analyzer < FileHelper < Reference < Object
oat++ (oatpp) — routes are declared inside an ApiController subclass with
code-gen macros:
ENDPOINT("GET", "users/{userId}", getUserById, PATH(Int32, userId)) { ... } ENDPOINT_ASYNC("GET", "room/{roomId}", ChatHTML) { ...Action class... }
The verb and path are the first two macro arguments; the remaining arguments of a sync ENDPOINT are typed parameter declarations (PATH/QUERY/HEADER/BODY_DTO/…). Async endpoints declare their parameters inside the generated coroutine class, so only the path placeholders are mined from those.
Constants
Precompiled unions for analyze_file's two per-file evidence gates, so each costs a single PCRE2 match instead of up to two naive substring scans.
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.