Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
noir
v0.2.2
Top Level Namespace
Analyzer
AnalyzerDjango
AnalyzerExample
AnalyzerExpress
AnalyzerFlask
AnalyzerGoEcho
AnalyzerKemal
AnalyzerPhpPure
AnalyzerRails
AnalyzerSinatra
AnalyzerSpring
CodeBlock
Detector
DetectorCrystalKemal
DetectorExample
DetectorGoEcho
DetectorJavaJsp
DetectorJavaSpring
DetectorJsExpress
DetectorPhpPure
DetectorPythonDjango
DetectorPythonFlask
DetectorRubyRails
DetectorRubySinatra
DjangoUrls
DjangoView
Endpoint
EndpointReference
Header
Noir
NoirLogger
NoirRunner
Param
Generated using Crystal 1.12.2
2024-07-07 05:00:33 UTC
class
AnalyzerSinatra
AnalyzerSinatra
Analyzer
Reference
Object
Defined in:
analyzer/analyzers/analyzer_sinatra.cr
Instance Method Summary
#analyze
#line_to_endpoint
(content : String) : Endpoint
#line_to_param
(content : String) : Param
Instance methods inherited from class
Analyzer
analyze
analyze
,
base_path : String
base_path
,
logger : NoirLogger
logger
,
result : Array(Endpoint)
result
,
scope : String
scope
,
url : String
url
Constructor methods inherited from class
Analyzer
new(options : Hash(Symbol, String))
new
Macros inherited from class
Analyzer
define_getter_methods(names)
define_getter_methods
Instance Method Detail
def
analyze
#
[
View source
]
def
line_to_endpoint
(content : String) :
Endpoint
#
[
View source
]
def
line_to_param
(content : String) :
Param
#
[
View source
]