<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def stream(self, request, counter=0):
        '''Returns an iterable over strings.
        '''
        if self._children:
            for child in self._children:
                if isinstance(child, String):
                    yield from child.stream(request, counter+1)
                else:
                    yield child