Method: Prism::LocalVariableWriteNode#operator_loc
- Defined in:
- lib/prism/node.rb
#operator_loc ⇒ Object
The location of the ‘=` operator.
x = :y
^
11042 11043 11044 11045 11046 |
# File 'lib/prism/node.rb', line 11042 def operator_loc location = @operator_loc return location if location.is_a?(Location) @operator_loc = Location.new(source, location >> 32, location & 0xFFFFFFFF) end |