Method: Prism::CallNode#compact_child_nodes
- Defined in:
- lib/prism/node.rb
#compact_child_nodes ⇒ Object
def compact_child_nodes: () -> Array
2622 2623 2624 2625 2626 2627 2628 |
# File 'lib/prism/node.rb', line 2622 def compact_child_nodes compact = [] #: Array[Prism::node] compact << receiver if receiver compact << arguments if arguments compact << block if block compact end |