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

Base class for parsers that read line-based formats. More...

Inheritance diagram for pyqpanda3.profiling.gprof2dot.LineParser:

Public Member Functions

 __init__ (self, stream)
 
 readline (self)
 
 lookahead (self)
 
 consume (self)
 
 eof (self)
 
- Public Member Functions inherited from pyqpanda3.profiling.gprof2dot.Parser
 parse (self)
 

Public Attributes

int line_no = 0
 

Static Public Attributes

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

Protected Attributes

 _stream = stream
 

Detailed Description

Base class for parsers that read line-based formats.

Constructor & Destructor Documentation

◆ __init__()

Member Function Documentation

◆ consume()

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

◆ eof()

pyqpanda3.profiling.gprof2dot.LineParser.eof ( self)

◆ lookahead()

pyqpanda3.profiling.gprof2dot.LineParser.lookahead ( self)

◆ readline()

pyqpanda3.profiling.gprof2dot.LineParser.readline ( self)

Member Data Documentation

◆ _stream

pyqpanda3.profiling.gprof2dot.LineParser._stream = stream
protected

◆ line_no

int pyqpanda3.profiling.gprof2dot.LineParser.line_no = 0

◆ XML_CHARACTER_DATA

pyqpanda3.profiling.gprof2dot.LineParser.XML_CHARACTER_DATA
static

◆ XML_ELEMENT_END

pyqpanda3.profiling.gprof2dot.LineParser.XML_ELEMENT_END
static

◆ XML_ELEMENT_START

pyqpanda3.profiling.gprof2dot.LineParser.XML_ELEMENT_START
static

◆ XML_EOF

pyqpanda3.profiling.gprof2dot.LineParser.XML_EOF
static

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