|
def | __init__ (self) |
|
def | catchall (self, input) |
|
def | resetCommentSearch (self, match) |
|
def | startCommentSearch (self, match) |
|
def | stopCommentSearch (self, match) |
|
def | appendFileheadLine (self, match) |
|
def | appendCommentLine (self, match) |
|
def | appendNormalLine (self, match) |
|
def | appendDefclassLine (self, match) |
|
def | makeCommentBlock (self) |
|
def | parse (self, input) |
|
def | parseFile (self, filename) |
|
def | parseLine (self, line) |
|
◆ __init__()
◆ appendCommentLine()
def appendCommentLine |
( |
|
self, |
|
|
|
match |
|
) |
| |
Appends a comment line.
The comment delimiter is removed from multiline start and ends as
well as singleline comments.
◆ appendDefclassLine()
def appendDefclassLine |
( |
|
self, |
|
|
|
match |
|
) |
| |
Appends a line to the triggering block.
◆ appendFileheadLine()
def appendFileheadLine |
( |
|
self, |
|
|
|
match |
|
) |
| |
Appends a line in the FILEHEAD state.
Closes the open comment block, resets it and appends the current line.
◆ appendNormalLine()
def appendNormalLine |
( |
|
self, |
|
|
|
match |
|
) |
| |
Appends a line to the output.
◆ catchall()
def catchall |
( |
|
self, |
|
|
|
input |
|
) |
| |
The catchall-condition, always returns true.
◆ makeCommentBlock()
def makeCommentBlock |
( |
|
self | ) |
|
Indents the current comment block with respect to the current
indentation level.
@returns a list of indented comment lines
◆ parse()
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
◆ parseFile()
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
◆ parseLine()
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
◆ resetCommentSearch()
def resetCommentSearch |
( |
|
self, |
|
|
|
match |
|
) |
| |
Restarts a new comment search for a different triggering line.
Closes the current commentblock and starts a new comment search.
◆ startCommentSearch()
def startCommentSearch |
( |
|
self, |
|
|
|
match |
|
) |
| |
Starts a new comment search.
Saves the triggering line, resets the current comment and saves
the current indentation.
◆ stopCommentSearch()
def stopCommentSearch |
( |
|
self, |
|
|
|
match |
|
) |
| |
Stops a comment search.
Closes the current commentblock, resets the triggering line and
appends the current line to the output.
◆ comment
◆ defclass
◆ defclass_re
◆ double_comment_re
◆ empty_re
◆ end_double_comment_re
◆ end_single_comment_re
◆ filehead
◆ fsm
Transition list format ["FROM", "TO", condition, action].
FILEHEAD DEFCLASS DEFCLASS_BODY DEFCLASS_MULTI
◆ hashline_re
◆ importline_re
◆ indent
◆ multiline_defclass_end_re
multiline_defclass_end_re |
◆ multiline_defclass_start_re
multiline_defclass_start_re |
◆ output
◆ outstream
◆ single_comment_re
◆ start_double_comment_re
◆ start_single_comment_re
The documentation for this class was generated from the following file: