Public Member Functions | Public Attributes | List of all members
gennodejs.generate.IndentedWriter Class Reference

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
 

Detailed Description

Indented writer.

Definition at line 192 of file generate.py.

Constructor & Destructor Documentation

def gennodejs.generate.IndentedWriter.__init__ (   self,
  s 
)

Definition at line 194 of file generate.py.

Member Function Documentation

def gennodejs.generate.IndentedWriter.block_next_indent (   self)

Definition at line 224 of file generate.py.

def gennodejs.generate.IndentedWriter.dec_indent (   self,
  dec = 2 
)

Definition at line 218 of file generate.py.

def gennodejs.generate.IndentedWriter.inc_indent (   self,
  inc = 2 
)

Definition at line 215 of file generate.py.

def gennodejs.generate.IndentedWriter.newline (   self)

Definition at line 212 of file generate.py.

def gennodejs.generate.IndentedWriter.reset_indent (   self)

Definition at line 221 of file generate.py.

def gennodejs.generate.IndentedWriter.write (   self,
  s,
  indent = True,
  newline = True 
)

Definition at line 199 of file generate.py.

Member Data Documentation

gennodejs.generate.IndentedWriter.block_indent

Definition at line 197 of file generate.py.

gennodejs.generate.IndentedWriter.indentation

Definition at line 196 of file generate.py.

gennodejs.generate.IndentedWriter.str

Definition at line 195 of file generate.py.


The documentation for this class was generated from the following file:


gennodejs
Author(s):
autogenerated on Thu Jun 6 2019 19:40:34