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