struct

Noir::TreeSitterPythonRouteExtractor::Decoration

Inherits Struct < Value < Object

A @<router>.route(...) or @<router>.<method>(...) decorator, paired with the def/class it applies to.

Constructors

new(router_name : String, attribute_name : String, path : String, methods : Array(String), decorator_line : Int32, def_line : Int32, def_name : String)
Source

Instance methods

attribute_name
Source
decorator_line
Source
def_line
Source
def_name
Source
methods
Source
path
Source
router_name
Source