struct
Noir::TreeSitterHttp4kExtractor::Route
- Noir::TreeSitterHttp4kExtractor::Route
- Struct
- Value
- Object
Defined in:
miniparsers/http4k_extractor_ts.crConstructors
Instance Method Summary
-
#callees : Array(Tuple(String, Int32))
1-hop callees out of the handler expression.
- #form_params : Array(String)
- #has_body? : Bool
- #header_params : Array(String)
- #line : Int32
- #path : String
- #query_params : Array(String)
- #verb : String
Constructor Detail
def self.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)))
#
Instance Method Detail
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).