def appendCommentLine |
( |
|
self, |
|
|
|
match |
|
) |
| |
Appends a comment line.
The comment delimiter is removed from multiline start and ends as
well as singleline comments.
def appendDefclassLine |
( |
|
self, |
|
|
|
match |
|
) |
| |
Appends a line to the triggering block.
def appendFileheadLine |
( |
|
self, |
|
|
|
match |
|
) |
| |
Appends a line in the FILEHEAD state.
Closes the open comment block, resets it and appends the current line.
def appendNormalLine |
( |
|
self, |
|
|
|
match |
|
) |
| |
Appends a line to the output.
def catchall |
( |
|
self, |
|
|
|
input |
|
) |
| |
The catchall-condition, always returns true.
def makeCommentBlock |
( |
|
self | ) |
|
Indents the current comment block with respect to the current
indentation level.
@returns a list of indented comment lines
def parse |
( |
|
self, |
|
|
|
input |
|
) |
| |
Parses a python file given as input string and returns the doxygen-
compatible representation.
@param input the python code to parse
@returns the modified python code
def parseFile |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Parses a python file given as input string and returns the doxygen-
compatible representation.
@param input the python code to parse
@returns the modified python code
def parseLine |
( |
|
self, |
|
|
|
line |
|
) |
| |
Parse one line of python and flush the resulting output to the
outstream.
@param line the python code line to parse
def resetCommentSearch |
( |
|
self, |
|
|
|
match |
|
) |
| |
Restarts a new comment search for a different triggering line.
Closes the current commentblock and starts a new comment search.
def startCommentSearch |
( |
|
self, |
|
|
|
match |
|
) |
| |
Starts a new comment search.
Saves the triggering line, resets the current comment and saves
the current indentation.
def stopCommentSearch |
( |
|
self, |
|
|
|
match |
|
) |
| |
Stops a comment search.
Closes the current commentblock, resets the triggering line and
appends the current line to the output.
Transition list format ["FROM", "TO", condition, action].
FILEHEAD DEFCLASS DEFCLASS_BODY DEFCLASS_MULTI
multiline_defclass_end_re |
multiline_defclass_start_re |
The documentation for this class was generated from the following file: