The base class for configuration objects. If no config script is specified on the command line, then this class is instantiated directly.
parser | The parser config object to use, or None if no parsing should be done. This attribute is set by __init__() |
linker | The linker config object to use, or None if no linking should be done. This attribute is set by __init__() |
formatter | The formatter config object to use, or None if no formatting should be done. This attribute is set by __init__() |
Classes Summary: | |
Parser Contains nested classes for the different Parser modules. [Source] | |
Linker Contains nested classes for the Linker modules. [Source] | |
Formatter Contains nested classes for the different Formatter modules. [Source] |
Operations Summary: | |
__init__(self, argv) Initialise the Config object. [Source] |
Operation Details: |
Initialise the Config object. The argv dictionary is used to fill in the attributes 'parser', 'linker' and 'formatter'. For example, if the dictionary contains a parser argument, then its value is used to select the parser to use by setting self.parser to the config object for that parser. The modules are selected from the 'modules' dictionary attribute of the Parser, Linker and Formatter nested classes.