struct
Noir::TreeSitterKotlinKtorRouteExtractor::Route
- Noir::TreeSitterKotlinKtorRouteExtractor::Route
- Struct
- Value
- Object
Defined in:
miniparsers/kotlin_ktor_route_extractor_ts.crConstructors
Instance Method Summary
-
#callees : Array(Tuple(String, Int32))
1-hop callees out of the handler lambda body.
- #header_params : Array(String)
- #line : Int32
- #path : String
- #query_params : Array(String)
- #receive_type : String | Nil
- #verb : String
Constructor Detail
def self.new(verb : String, path : String, line : Int32, receive_type : Nil | String, query_params : Array(String), header_params : Array(String), callees : Array(Tuple(String, Int32)))
#
Instance Method Detail
1-hop callees out of the handler lambda body. #path is left
for the caller to fill in (the route extractor doesn't carry
the file path itself); each tuple is (callee_name, line_1_based).