class Prism::FindPatternNode
def each_child_node
def each_child_node return to_enum(:each_child_node) unless block_given? yield constant if constant yield left requireds.each { |node| yield node } yield right end
def each_child_node return to_enum(:each_child_node) unless block_given? yield constant if constant yield left requireds.each { |node| yield node } yield right end