Lines Matching refs:stream
106 stream: t.Optional[t.TextIO] = None,
115 environment, name, filename, stream, defer_init, optimized
119 if stream is None:
120 return generator.stream.getvalue() # type: ignore
306 stream: t.Optional[t.TextIO] = None,
310 if stream is None:
311 stream = StringIO()
315 self.stream = stream
454 """Write a string into the output stream."""
457 self.stream.write("\n" * self._new_lines)
463 self.stream.write(" " * self._indentation)
465 self.stream.write(x)
487 """Writes a function call to the stream for the current node.