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: stringOptional 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
Interface for code generation writers in the Amplication AST system. Provides methods for writing code with proper indentation and formatting.