Method: Prism::FlipFlopNode#compact_child_nodes
- Defined in:
- lib/prism/node.rb
#compact_child_nodes ⇒ Object
def compact_child_nodes: () -> Array
6985 6986 6987 6988 6989 6990 |
# File 'lib/prism/node.rb', line 6985 def compact_child_nodes compact = [] #: Array[Prism::node] compact << left if left compact << right if right compact end |