struct

Noir::PhpBlockParser::Attribute

Inherits Struct < Value < Object

One entry of an attribute group: name as written (Route, \Symfony\...\Route), the entry's span, and the span inside its parentheses when it has an argument list.

Constructors

new(name : String, start : Int32, stop : Int32, args : Range(Int32, Int32) | Nil)
Source

Instance methods

args
clone
Source
copy_with(name _name = @name, start _start = @start, stop _stop = @stop, args _args = @args)
Source
name
start
stop