'Yields a list of tokens resulting from expansion.
This may be useful for WSGI apps.  NOTE: In the current implementation, the
entire expanded template must be stored memory.
NOTE: This is a generator, but JavaScript doesn\'t have generators.'

def tokenstream(self, data_dict):

    tokens = []
    self.render(data_dict, tokens.append)
    for token in tokens:
        (yield token)
