struct

Noir::TreeSitterHttp4kExtractor::Route

Inherits Struct < Value < Object

Constructors

new(verb : String, path : String, line : Int32, has_body : Bool, query_params : Array(String), header_params : Array(String), form_params : Array(String), callees : Array(Tuple(String, Int32)))
Source

Instance methods

callees

1-hop callees out of the handler expression. path is filled in by the analyzer (the route extractor doesn't carry the file path); each tuple is (callee_name, line_1_based).

Source
form_params
Source
has_body?
Source
header_params
Source
line
Source
path
Source
query_params
Source
verb
Source
with_path(path : String) : Route
Source