Lines Matching refs:stream
74 def generate(node, environment, name, filename, stream=None,
80 stream, defer_init,
83 if stream is None:
84 return generator.stream.getvalue()
246 def __init__(self, environment, name, filename, stream=None,
248 if stream is None:
249 stream = NativeStringIO()
253 self.stream = stream
383 """Write a string into the output stream."""
386 self.stream.write('\n' * self._new_lines)
393 self.stream.write(' ' * self._indentation)
395 self.stream.write(x)
410 """Writes a function call to the stream for the current node.