class AnalyzerSpring
Defined in:
analyzer/analyzers/analyzer_spring.cr
Constant Summary
-
REGEX_CLASS_DEFINITION =
/^(((public|private|protected|default)\s+)|^)class\s+/
-
REGEX_ROUTE_CODE_LINE =
/((?:andRoute|route)\s*\(|\.)\s*(GET|POST|DELETE|PUT)\(\s*"([^"]*)/
-
REGEX_ROUTER_CODE_BLOCK =
/route\(\)?.*?\);/m
Instance Method Summary
Macro Summary
Instance Method Detail
def
comma_in_bracket(content :
String)
#
def
mapping_to_path(line :
String)
#
Macro Detail
macro
define_requestmapping_handlers(methods)
#