instance method
Prism::InNode#save_then_loc
save_then_loc(repository)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 9107
def save_then_loc(repository)
repository.enter(node_id, :then_loc) unless @then_loc.nil?
end
Save the then_loc location using the given saved source so that it can be retrieved later.