class method
Prism::Scope.new
new(locals, forwarding)
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 886
def initialize(locals, forwarding)
@locals = locals
@forwarding = forwarding
end
Create a new scope object with the given locals and forwarding.