<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import <EOL> import redhawk . utils . util as U <EOL> from collections import deque <EOL> def DFS ( tree ) : <EOL> queue = deque ( [ tree ] ) <EOL> while queue : <EOL> node = queue . pop ( ) <EOL> if node : <EOL> for x in node . GetFlattenedChildren ( ) : <EOL> if x is not None : <EOL> queue . append ( x ) <EOL> yield node </s>
