pygccxml.parser.scanner module

class scanner_t(xml_file, decl_factory, config, *args)

Bases: xml.sax.handler.ContentHandler

access()
calldefs()
declarations()
endDocument()

Receive notification of the end of a document.

The SAX parser will invoke this method only once, and it will be the last method invoked during the parse. The parser shall not invoke this method until it has either abandoned parsing (because of an unrecoverable error) or reached the end of input.

endElement(name)

Signals the end of an element in non-namespace mode.

The name parameter contains the name of the element type, just as with the startElement event.

enums()
files()
members()
read()
startElement(name, attrs)

Signals the start of an element in non-namespace mode.

The name parameter contains the raw XML 1.0 name of the element type as a string and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.

types()
property xml_generator_from_xml_file

Configuration object containing information about the xml generator read from the xml file.

Returns

configuration object

Return type

utils.xml_generators