class Prism::WhileNode

def compact_child_nodes

Experimental RBS support (using type sampling data from the type_fusion project).

def compact_child_nodes: () -> Array[Prism::AndNode]

This signature was generated using 1 sample from 1 application.

def compact_child_nodes: () -> Array[Node]
def compact_child_nodes
  compact = []
  compact << predicate
  compact << statements if statements
  compact
end