Method: Prism::RangeNode#operator_loc

Defined in:
lib/prism/node.rb

#operator_locObject

The location of the ‘..` or `…` operator.



13574
13575
13576
13577
13578
# File 'lib/prism/node.rb', line 13574

def operator_loc
  location = @operator_loc
  return location if location.is_a?(Location)
  @operator_loc = Location.new(source, location >> 32, location & 0xFFFFFFFF)
end