SPRAAK
Data Structures | Namespaces | Functions
spr_pydoc_filter.py File Reference

Doxygen filter to handle custom comment formatting. More...

Data Structures

class  spr_pydoc_filter.ModuleInfo
 Represents a parsed python file. More...
 
class  spr_pydoc_filter.ClassInfo
 Represents a parsed class. More...
 
class  spr_pydoc_filter.FunctionInfo
 Represents a parsed function. More...
 
class  spr_pydoc_filter.ParamInfo
 Represents a function parameter. More...
 

Namespaces

 spr_pydoc_filter
 

Functions

def spr_pydoc_filter.match_tree (pat, tree)
 Utility function to find specific sub-trees of the parse tree. More...
 
def spr_pydoc_filter.search_tree (symb, tree)
 Utility function to find all subtrees starting with a specific node name. More...
 
def spr_pydoc_filter.conv (ast)
 Utility function that converts token and symbol id numbers to readable strings. More...
 
def spr_pydoc_filter.pprint_ast (ast)
 Utility function to dump a parse tree to stdout. More...
 
def spr_pydoc_filter.split_comment (comment)
 Looks for an optional spr_* tag at the start of a comment. More...
 
def spr_pydoc_filter.is_empty_line (line)
 
def spr_pydoc_filter.ws_len (ws)
 
def spr_pydoc_filter.parse_endlist_line (line)
 
def spr_pydoc_filter.parse_itemlist_line (line)
 
def spr_pydoc_filter.convert_comment_lists (comment)
 
def spr_pydoc_filter.tag_from_name (name)
 Matches access level tags to functions based on naming convention. More...
 
def spr_pydoc_filter.ast_to_tok (ast, tok=None)
 Walks a parse tree and returns a list of all encountered token nodes. More...
 
def spr_pydoc_filter.convert (fname, stdout=None, tag_mask=None)
 Convert python source code. More...
 
def spr_pydoc_filter.main ()
 Main function. More...
 

Detailed Description

Doxygen filter to handle custom comment formatting.

All python scripts will be passed through this script to be transformed into a format that Doxygen can handle natively.

Author
Jan Roelens