QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.profiling.gprof2dot.XmlParser Class Reference

Base XML document parser. More...

Inheritance diagram for pyqpanda3.profiling.gprof2dot.XmlParser:

Public Member Functions

 __init__ (self, fp)
 
 consume (self)
 
 match_element_start (self, name)
 
 match_element_end (self, name)
 
 element_start (self, name)
 
 element_end (self, name)
 
 character_data (self, strip=True)
 
- Public Member Functions inherited from pyqpanda3.profiling.gprof2dot.Parser
 parse (self)
 

Public Attributes

 tokenizer = XmlTokenizer(fp)
 
 token = self.tokenizer.next()
 

Additional Inherited Members

- Static Public Attributes inherited from pyqpanda3.profiling.gprof2dot.Parser
bool stdinInput = True
 
bool multipleInput = False
 

Detailed Description

Base XML document parser.

Constructor & Destructor Documentation

◆ __init__()

pyqpanda3.profiling.gprof2dot.XmlParser.__init__ ( self,
fp )

Member Function Documentation

◆ character_data()

pyqpanda3.profiling.gprof2dot.XmlParser.character_data ( self,
strip = True )

◆ consume()

pyqpanda3.profiling.gprof2dot.XmlParser.consume ( self)

◆ element_end()

pyqpanda3.profiling.gprof2dot.XmlParser.element_end ( self,
name )

◆ element_start()

pyqpanda3.profiling.gprof2dot.XmlParser.element_start ( self,
name )

◆ match_element_end()

pyqpanda3.profiling.gprof2dot.XmlParser.match_element_end ( self,
name )

◆ match_element_start()

pyqpanda3.profiling.gprof2dot.XmlParser.match_element_start ( self,
name )

Member Data Documentation

◆ token

pyqpanda3.profiling.gprof2dot.XmlParser.token = self.tokenizer.next()

◆ tokenizer

pyqpanda3.profiling.gprof2dot.XmlParser.tokenizer = XmlTokenizer(fp)

The documentation for this class was generated from the following file: