Skip to content
On this page

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.3

Prism::IndexOperatorWriteNode

< Prism::Node 15 instance methods 2 class methods

Represents the use of an assignment operator on a call to [].

foo.bar[baz] += value
^^^^^^^^^^^^^^^^^^^^^

Class methods 2

Instance methods 15

Attributes
Read

attr_reader arguments: ArgumentsNode?

Read

attr_reader block: Node?

attr_reader closing_loc: Location

attr_reader opening_loc: Location

Read

attr_reader operator: Symbol

attr_reader operator_loc: Location

Read

attr_reader receiver: Node?

Read

attr_reader value: Node