class method
Prism::CaseNode.new
new(source, node_id, location, flags, predicate, conditions, else_clause, case_keyword_loc, end_keyword_loc)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 3715
def initialize(source, node_id, location, flags, predicate, conditions, else_clause, case_keyword_loc, end_keyword_loc)
@source = source
@node_id = node_id
@location = location
@flags = flags
@predicate = predicate
@conditions = conditions
@else_clause = else_clause
@case_keyword_loc = case_keyword_loc
@end_keyword_loc = end_keyword_loc
end
Initialize a new CaseNode node.