__init__(self,
config,
cache=None,
decl_factory=None)
(Constructor)
| source code
|
Constructor.
config is a configuration object that contains the parameters for
invoking gccxml. cache specifies the cache to use for caching
declarations between separate runs. By default, no cache is used.
decl_factory is an object that must provide the same interface than decl_factory_t, i.e. there must be a set of
create_* methods that return an instance of an appropriate
declaration class. By default, the declaration classes defined in the declarations
package are used.
- Parameters:
config (config_t) - Configuration object
cache (cache_base_t or str) - Declaration cache (None=no cache)
decl_factory (decl_factory_t) - Custom declaration factory object or None
|