Trees | Indices | Help |
---|
|
object --+ | file --+ | FileWriter --+ | CPPWriter
Routines for writing C++ lines. Keeps track of brackets, spaces, indentation and splitting of long lines
|
|||
CPPWriterError Exception raised if an error occurs in the definition or the execution of a CPPWriter. |
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
standard_indent = 2
|
|||
line_cont_indent = 4
|
|||
indent_par_keywords =
|
|||
indent_single_keywords =
|
|||
indent_content_keywords =
|
|||
cont_indent_keywords =
|
|||
spacing_patterns =
|
|||
spacing_re =
|
|||
init_array_pattern = re.compile(r'=\s
|
|||
short_clause_pattern = re.compile(r'\{.
|
|||
comment_char =
|
|||
comment_pattern = re.compile(r'^
|
|||
start_comment_pattern = re.compile(r'^
|
|||
end_comment_pattern = re.compile(r'
|
|||
quote_chars = re.compile(r'
|
|||
no_space_comment_patterns = re.compile(r'--
|
|||
line_length = 80
|
|||
max_split = 40
|
|||
split_characters =
|
|||
comment_split_characters =
|
|||
__indent = 0
|
|||
__keyword_list = deque([])
|
|||
__comment_ongoing = False
|
|||
key =
|
|
|||
Inherited from Inherited from |
|
Write a C++ line, with correct indent, spacing and line splits
|
Write a comment line, with correct indent and line splits
|
Split a line if it is longer than self.line_length columns. Split in preferential order according to split_characters. Also fix spacing for line. |
Split a line if it is longer than self.line_length columns. Split in preferential order according to split_characters. |
|
indent_par_keywords
|
cont_indent_keywords
|
spacing_patterns
|
spacing_re
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 08:02:12 2012 | http://epydoc.sourceforge.net |