class

Analyzer::Specification::Yarp

Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object

YARP (Yarp.ReverseProxy): each route publishes Match.Path for the Match.Methods verbs, or for any verb when there is no method list. Read from the ReverseProxy:Routes config section and from new RouteMatch { ... } initializers in C#.

Constants

CODE_LIST_RE = /\b(Methods|Hosts)\s*=\s*(?:new\b[^{;]*\{([^}]*)\}|\[([^\]]*)\])/
CODE_PATH_RE = /\bPath\s*=\s*"([^"]*)"/
PLACEHOLDER_RE = /\{([^{}]*)\}/
QUOTED_RE = /"([^"]+)"/
ROUTE_MATCH_RE = /\b(?:new\s+RouteMatch|Match\s*=\s*new)\s*(?:\(\s*\))?\s*\{/

Class methods

tech_name
Source

Instance methods

analyze
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