class method
Prism::CapturePatternNode.new
new(source, node_id, location, flags, value, target, operator_loc)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 3461
def initialize(source, node_id, location, flags, value, target, operator_loc)
@source = source
@node_id = node_id
@location = location
@flags = flags
@value = value
@target = target
@operator_loc = operator_loc
end
Initialize a new CapturePatternNode node.