Method: Prism::CallNode#opening_loc

Defined in:
lib/prism/node.rb

#opening_locObject

Represents the location of the left parenthesis.

foo(bar)
   ^


2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
# File 'lib/prism/node.rb', line 2736

def opening_loc
  location = @opening_loc
  case location
  when nil
    nil
  when Location
    location
  else
    @opening_loc = Location.new(source, location >> 32, location & 0xFFFFFFFF)
  end
end