123456789_123456789_123456789_123456789_123456789_

Class: Prism::IndexOperatorWriteNode

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Node
Instance Chain:
self, Node
Inherits: Prism::Node
Defined in: lib/prism/node_ext.rb

Instance Attribute Summary

Node - Inherited

Instance Method Summary

  • #operator

    Returns the binary operator used to modify the receiver.

  • #operator_loc

    Returns the location of the binary operator used to modify the receiver.

Node - Inherited

Instance Method Details

#operator

Returns the binary operator used to modify the receiver. This method is deprecated in favor of #binary_operator.

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 403

def operator
  deprecated("binary_operator")
  binary_operator
end

#operator_loc

Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of #binary_operator_loc.

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 410

def operator_loc
  deprecated("binary_operator_loc")
  binary_operator_loc
end