class

Analyzer::Scala::Http4s

Inherits Analyzer::Scala::ScalaEngine < FileScanEngine < Analyzer < FileHelper < Reference < Object

Constants

HTTP_METHODS = ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"] of ::String
QUERY_MATCHER_DECL_RE = /\bobject\s+(\w+)\s+extends\s+\w*QueryParam\w*Matcher\s*(?:\[[^(]*\])?\s*\(\s*"([^"]+)"\s*\)/

object Name extends QueryParamDecoderMatcher[String]("name") — the query key is the constructor argument, not the pattern's binding.

Class methods

tech_name
Source

Instance methods

analyze
Source
analyze_file(path : String) : Array(Endpoint)
Source
tech

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.

Source