def _children(self):
        """Yield all direct children of this object."""
        if self.declarations:
            yield self.declarations
        if isinstance(self.condition, CodeExpression):
            yield self.condition
        if self.increment:
            yield self.increment
        for codeobj in self.body._children():
            yield codeobj
def _children ( self ) : if self . declarations : yield self . declarations if isinstance ( self . condition , CodeExpression ) : yield self . condition if self . increment : yield self . increment for codeobj in self . body . _children ( ) : yield codeobj
Yield all direct children of this object.