Class: Prism::ConstantPathOperatorWriteNode

Inherits:
Node
  • Object
show all
Defined in:
lib/prism/node_ext.rb

Instance Method Summary collapse

Methods inherited from Node

#deprecated, #newline_flag!, #newline_flag?

Instance Method Details

#operatorObject

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



387
388
389
390
# File 'lib/prism/node_ext.rb', line 387

def operator
  deprecated("binary_operator")
  binary_operator
end

#operator_locObject

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



394
395
396
397
# File 'lib/prism/node_ext.rb', line 394

def operator_loc
  deprecated("binary_operator_loc")
  binary_operator_loc
end