Indented writer. More...
Public Member Functions | |
def | __init__ (self, s) |
def | block_next_indent (self) |
def | dec_indent (self, dec=2) |
def | inc_indent (self, inc=2) |
def | newline (self) |
def | reset_indent (self) |
def | write (self, s, indent=True, newline=True) |
Public Attributes | |
block_indent | |
indentation | |
str | |
Indented writer.
Definition at line 161 of file genmsg_lisp.py.
def genmsg_lisp.IndentedWriter.__init__ | ( | self, | |
s | |||
) |
Definition at line 163 of file genmsg_lisp.py.
def genmsg_lisp.IndentedWriter.block_next_indent | ( | self | ) |
Definition at line 193 of file genmsg_lisp.py.
def genmsg_lisp.IndentedWriter.dec_indent | ( | self, | |
dec = 2 |
|||
) |
Definition at line 187 of file genmsg_lisp.py.
def genmsg_lisp.IndentedWriter.inc_indent | ( | self, | |
inc = 2 |
|||
) |
Definition at line 184 of file genmsg_lisp.py.
def genmsg_lisp.IndentedWriter.newline | ( | self | ) |
Definition at line 181 of file genmsg_lisp.py.
def genmsg_lisp.IndentedWriter.reset_indent | ( | self | ) |
Definition at line 190 of file genmsg_lisp.py.
def genmsg_lisp.IndentedWriter.write | ( | self, | |
s, | |||
indent = True , |
|||
newline = True |
|||
) |
Definition at line 168 of file genmsg_lisp.py.
genmsg_lisp.IndentedWriter.block_indent |
Definition at line 166 of file genmsg_lisp.py.
genmsg_lisp.IndentedWriter.indentation |
Definition at line 165 of file genmsg_lisp.py.
genmsg_lisp.IndentedWriter.str |
Definition at line 164 of file genmsg_lisp.py.