Writes text to the output buffer with proper indentation
The text to write
Writes text followed by a newline if the last line wasn't a newline
Optional text to write before the newline
Writes a newline to the output buffer
Writes a newline if the last line wasn't a newline
Increases the indentation level
Decreases the indentation level
Returns the current contents of the output buffer
Writer class for generating Python code from AST nodes.