Indented writer. More...
Public Member Functions | |
def | __init__ |
def | block_next_indent |
def | dec_indent |
def | inc_indent |
def | newline |
def | reset_indent |
def | write |
Public Attributes | |
block_indent | |
indentation | |
str |
Indented writer.
Definition at line 174 of file generate.py.
def geneus.generate.IndentedWriter.__init__ | ( | self, | |
s | |||
) |
Definition at line 176 of file generate.py.
def geneus.generate.IndentedWriter.block_next_indent | ( | self | ) |
Definition at line 206 of file generate.py.
def geneus.generate.IndentedWriter.dec_indent | ( | self, | |
dec = 2 |
|||
) |
Definition at line 200 of file generate.py.
def geneus.generate.IndentedWriter.inc_indent | ( | self, | |
inc = 2 |
|||
) |
Definition at line 197 of file generate.py.
def geneus.generate.IndentedWriter.newline | ( | self | ) |
Definition at line 194 of file generate.py.
def geneus.generate.IndentedWriter.reset_indent | ( | self | ) |
Definition at line 203 of file generate.py.
def geneus.generate.IndentedWriter.write | ( | self, | |
s, | |||
indent = True , |
|||
newline = True |
|||
) |
Definition at line 181 of file generate.py.
Definition at line 176 of file generate.py.
Definition at line 176 of file generate.py.
Definition at line 176 of file generate.py.