Class: Prism::IndexOperatorWriteNode
Instance Method Summary collapse
-
#operator ⇒ Object
Returns the binary operator used to modify the receiver.
-
#operator_loc ⇒ Object
Returns the location of the binary operator used to modify the receiver.
Methods inherited from Node
#deprecated, #newline_flag!, #newline_flag?
Instance Method Details
#operator ⇒ Object
Returns the binary operator used to modify the receiver. This method is deprecated in favor of #binary_operator.
419 420 421 422 |
# File 'lib/prism/node_ext.rb', line 419 def operator deprecated("binary_operator") binary_operator end |
#operator_loc ⇒ Object
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of #binary_operator_loc.
426 427 428 429 |
# File 'lib/prism/node_ext.rb', line 426 def operator_loc deprecated("binary_operator_loc") binary_operator_loc end |