class method
Prism::ArrayPatternNode.new
new(source, node_id, location, flags, constant, requireds, rest, posts, opening_loc, closing_loc)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 1024
def initialize(source, node_id, location, flags, constant, requireds, rest, posts, opening_loc, closing_loc)
@source = source
@node_id = node_id
@location = location
@flags = flags
@constant = constant
@requireds = requireds
@rest = rest
@posts = posts
@opening_loc = opening_loc
@closing_loc = closing_loc
end
Initialize a new ArrayPatternNode node.