parser

parser.declareHandler(kind)[source]

Decorator used to register a handler associated to a clang cursor kind/type. The decorated handler function will be called to process each cursor of this kind.

parser.parse(filename, args=None, unsaved_files=None, options=None, kind=None, tag=None, config=None)[source]

Function that parses the input filename and returns the dictionary of name:object extracted from this C or C++ file.

parser.parse_string(s, args=None, options=0, tag=None, config=None)[source]

Crawl wrapper to parse an input string rather than file.