class method
Prism::YieldNode.new
new(source, node_id, location, flags, keyword_loc, lparen_loc, arguments, rparen_loc)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 18527
def initialize(source, node_id, location, flags, keyword_loc, lparen_loc, arguments, rparen_loc)
@source = source
@node_id = node_id
@location = location
@flags = flags
@keyword_loc = keyword_loc
@lparen_loc = lparen_loc
@arguments = arguments
@rparen_loc = rparen_loc
end
Initialize a new YieldNode node.