struct

Noir::CSharpDecl::Arg

Inherits Struct < Value < Object

One argument of an attribute usage: positional, a constructor parameter by name (template: "x"), or a property (Order = 2).

Constructors

new(text : String, name : String | Nil = nil, property : String | Nil = nil)
Source

Instance methods

clone
Source
copy_with(text _text = @text, name _name = @name, property _property = @property)
Source
literal

The value of a plain or verbatim string literal; nil for anything else (an interpolation, a constant, a concatenation).

Source
name
positional?
Source
property
text