struct

Noir::TreeSitterAdonisJsExtractor::Route

Inherits Struct < Value < Object

Constructors

new(verb : String, path : String, line : Int32, callees : Array(Tuple(String, String, Int32)) = [] of JSCalleeExtractor::Entry)
Source

Instance methods

callees
Source
controller

{controller, action} the route names ([NotesController, 'store'], 'NotesController.store'), or the text of an inline handler.

Source
controller=(controller : Tuple(String, String) | Nil)

{controller, action} the route names ([NotesController, 'store'], 'NotesController.store'), or the text of an inline handler.

Source
handler_source
Source
handler_source=(handler_source : String | Nil)
Source
line
Source
path
Source
verb
Source