struct

Noir::PhpBlockParser::ArrayEntry

Inherits Struct < Value < Object

One element of an array literal: the key expression (nil for a list element) and the value expression, both trimmed.

Constructors

new(key : Range(Int32, Int32) | Nil, value : Range(Int32, Int32))
Source

Instance methods

clone
Source
copy_with(key _key = @key, value _value = @value)
Source
key
value