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