Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism::YieldNode.new
new(keyword_loc, lparen_loc, arguments, rparen_loc, location)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/node.rb, line 17168
def initialize(keyword_loc, lparen_loc, arguments, rparen_loc, location)
@keyword_loc = keyword_loc
@lparen_loc = lparen_loc
@arguments = arguments
@rparen_loc = rparen_loc
@location = location
end
def initialize: (keyword_loc: Location, lparen_loc: Location?, arguments: ArgumentsNode?, rparen_loc: Location?, location: Location) -> void