Method: Prism::RestParameterNode#save_name_loc

Defined in:
lib/prism/node.rb

#save_name_loc(repository) ⇒ Object

Save the name_loc location using the given saved source so that it can be retrieved later.



15951
15952
15953
# File 'lib/prism/node.rb', line 15951

def save_name_loc(repository)
  repository.enter(node_id, :name_loc) unless @name_loc.nil?
end