class

Noir::TreeSitterGoRouteExtractor::RouteHelperIndex

Inherits Reference < Object

Instance methods

[](name : String) : RouteHelper | Nil
Source
active

Helpers whose bodies are being expanded right now (recursion guard).

Source
active=(active : Set(String))

Helpers whose bodies are being expanded right now (recursion guard).

Source
empty?
Source
external
Source
external=(external : Proc(String, String, String, Tuple(String, String) | Nil) | Nil)
Source
file

The file these helpers are declared in, and a lookup for a helper called here but declared elsewhere: another file of the package (addGitHTTPRoutes(m)) or an imported one (common.AddLFSRoutes(m)). Given {file, qualifier, name} it answers {path, source} of the declaring file, or nil. Only Mount expansion sets it.

Source
file=(file : String)

The file these helpers are declared in, and a lookup for a helper called here but declared elsewhere: another file of the package (addGitHTTPRoutes(m)) or an imported one (common.AddLFSRoutes(m)). Given {file, qualifier, name} it answers {path, source} of the declaring file, or nil. Only Mount expansion sets it.

Source
helpers
Source