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::LocalVariableOperatorWriteNode

< Prism::Node 9 instance methods 2 class methods

Represents assigning to a local variable using an operator that isn’t ‘=`.

target += value
^^^^^^^^^^^^^^^

Class methods 2

Instance methods 9

Attributes
Read

attr_reader depth: Integer

Read

attr_reader name: Symbol

Read

attr_reader name_loc: Location

Read

attr_reader operator: Symbol

attr_reader operator_loc: Location

Read

attr_reader value: Node