instance method
Prism::DSL#parentheses_node
parentheses_node(source: default_source, node_id: 0, location: default_location, flags: 0, body: nil, opening_loc: location, closing_loc: location)
lib/prism/dsl.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/dsl.rb, line 655
def parentheses_node(source: default_source, node_id: 0, location: default_location, flags: 0, body: nil, opening_loc: location, closing_loc: location)
ParenthesesNode.new(source, node_id, location, flags, body, opening_loc, closing_loc)
end
Create a new ParenthesesNode node.
See also
#parameters_node
#parentheses_node_flag
#parameter_flag
#pinned_expression_node
also in
3.4