Core module for the HTML Formatter.
This module is the first to be loaded, and it creates the global 'core.config' object before creating any pages. It also handles the command line parsing for this module, and coordinates the actual output generation.
Classes Summary: | |
Config Central configuration repository for HTML formatter. [Source] | |
Struct Dummy class. [Source] | |
DeclStyle This class just maintains a mapping from declaration to display style. [Source] | |
PageManager This class manages and coordinates the various pages. [Source] |
Functions Summary: | |
sort(list) Utility func to sort and return the given list [Source] | |
old_reference(name, scope, label = None, **keys) Utility method to insert a reference to a name. [Source] | |
compile_glob(globstr) Returns a compiled regular expression for the given glob string. [Source] | |
usage() Print usage to stdout [Source] | |
__parseArgs(args, config_obj) [Source] | |
format(args, ast, config_obj) [Source] | |
configure_for_gui(ast, config_obj) [Source] |
Function Details: |
Utility method to insert a reference to a name.
Returns a compiled regular expression for the given glob string. A glob string is something like "*.?pp" which gets translated into "^.*\..pp$".