class
Noir::TreeSitterGoRouteExtractor::RouteHelper
- Noir::TreeSitterGoRouteExtractor::RouteHelper
- Reference
- Object
Overview
A same-file function (or closure variable) that takes the router as
a parameter and registers routes on it — gitea's
func addProjectRoutes(m *web.Router, ...) called from three
different groups, or addActionsRoutes := func(m *web.Router, ...).
Its body is walked at every call site with the caller's active
prefix, and its declaration is skipped by the free-floating walk
(which would otherwise report the routes at the helper's own,
prefix-less, path).
Defined in:
miniparsers/go_route_extractor_ts/chi.crConstructors
Instance Method Summary
- #body : LibTreeSitter::TSNode
- #calls : Int32
- #calls=(calls : Int32)
- #router_index : Int32
- #router_param : String