# pygccxml.parser package

Parser sub-package.

`parse`(files, config=None, compilation_mode='file by file', cache=None)

  Parse header files.

  Parameters:

  - files (list of str) – The header files that should be parsed
  - config (`parser.xml_generator_configuration_t`) – Configuration object or None
  - compilation_mode (`parser.COMPILATION_MODE`) – Determines whether the files are parsed individually or as one single chunk
  - cache (`parser.cache_base_t` or str) – Declaration cache (None=no cache)

  Return type: | list of `declarations.declaration_t`

`parse_string`(content, config=None)

`parse_xml_file`(content, config=None)

## Submodules

- pygccxml.parser.config module
- pygccxml.parser.declarations_cache module
- pygccxml.parser.declarations_joiner module
- pygccxml.parser.directory_cache module
- pygccxml.parser.etree_scanner module
- pygccxml.parser.linker module
- pygccxml.parser.patcher module
- pygccxml.parser.project_reader module
- pygccxml.parser.scanner module
- pygccxml.parser.source_reader module