Method: Prism::CallNode#closing_loc
- Defined in:
- lib/prism/node.rb
#closing_loc ⇒ Object
Represents the location of the right parenthesis.
foo(bar)
^
2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 |
# File 'lib/prism/node.rb', line 2764 def closing_loc location = @closing_loc case location when nil nil when Location location else @closing_loc = Location.new(source, location >> 32, location & 0xFFFFFFFF) end end |