instance method
Prism::Node#slice
slice
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 147
def slice
location.slice
end
Slice the location of the node from the source.