Method: Prism::BeginNode#begin_keyword_loc
- Defined in:
- lib/prism/node.rb
#begin_keyword_loc ⇒ Object
attr_reader begin_keyword_loc: Location?
1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 |
# File 'lib/prism/node.rb', line 1367 def begin_keyword_loc location = @begin_keyword_loc case location when nil nil when Location location else @begin_keyword_loc = Location.new(source, location >> 32, location & 0xFFFFFFFF) end end |