Method: Prism::IndexTargetNode#compact_child_nodes

Defined in:
lib/prism/node.rb

#compact_child_nodesObject

def compact_child_nodes: () -> Array



9645
9646
9647
9648
9649
9650
9651
# File 'lib/prism/node.rb', line 9645

def compact_child_nodes
  compact = [] #: Array[Prism::node]
  compact << receiver
  compact << arguments if arguments
  compact << block if block
  compact
end