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