class Prism::StatementsNode

def compact_child_nodes

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

type Prism__StatementsNode_compact_child_nodes_return_value = Array[Prism::CallNode] | Array[Prism::ModuleNode] | Array[Prism::ClassNode] | Array[Prism::IfNode] | Array[Prism::ConstantWriteNode] | Array[Prism::InterpolatedStringNode] | Array[Prism::DefNode] | Array[Prism::LocalVariableWriteNode] | Array[Prism::LocalVariableReadNode] | Array[Prism::WhileNode] | Array[Prism::ReturnNode] | Array[Prism::UnlessNode] | Array[Prism::SuperNode]

def compact_child_nodes: () -> Prism__StatementsNode_compact_child_nodes_return_value

This signature was generated using 41 samples from 1 application.

def compact_child_nodes: () -> Array[Node]
def compact_child_nodes
  [*body]
end