Method: Prism::RangeNode#compact_child_nodes

Defined in:
lib/prism/node.rb

#compact_child_nodesObject

def compact_child_nodes: () -> Array



13524
13525
13526
13527
13528
13529
# File 'lib/prism/node.rb', line 13524

def compact_child_nodes
  compact = [] #: Array[Prism::node]
  compact << left if left
  compact << right if right
  compact
end