class Prism::ParametersNode

def compact_child_nodes

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

def compact_child_nodes: () -> (Array[Prism::RequiredParameterNode] | Array[Prism::OptionalParameterNode])

This signature was generated using 5 samples from 1 application.

def compact_child_nodes: () -> Array[Node]
def compact_child_nodes
  compact = []
  compact.concat(requireds)
  compact.concat(optionals)
  compact << rest if rest
  compact.concat(posts)
  compact.concat(keywords)
  compact << keyword_rest if keyword_rest
  compact << block if block
  compact
end