Public Member Functions | |
def | __init__ |
def | readline |
def | lookahead |
def | consume |
def | eof |
Private Attributes | |
_file | |
__line | |
__eof |
Base class for parsers that read line-based formats.
Definition at line 584 of file gprof2dot.py.
def gprof2dot.LineParser.__init__ | ( | self, | |
file | |||
) |
Reimplemented in gprof2dot.SharkParser, and gprof2dot.OprofileParser.
Definition at line 587 of file gprof2dot.py.
def gprof2dot.LineParser.consume | ( | self | ) |
Definition at line 604 of file gprof2dot.py.
References gprof2dot.LineParser.__line, and gprof2dot.LineParser.readline().
Referenced by gprof2dot.XmlParser.character_data(), gprof2dot.XmlParser.element_end(), gprof2dot.XmlParser.element_start(), gprof2dot.SharkParser.parse(), gprof2dot.OprofileParser.parse_header(), gprof2dot.OprofileParser.parse_subentry(), and gprof2dot.OprofileParser.skip_separator().
def gprof2dot.LineParser.eof | ( | self | ) |
Definition at line 610 of file gprof2dot.py.
References gprof2dot.LineParser.__eof, and gprof2dot.LineParser.__line.
def gprof2dot.LineParser.lookahead | ( | self | ) |
Definition at line 600 of file gprof2dot.py.
References gprof2dot.LineParser.__line.
Referenced by gprof2dot.OprofileParser.match_header(), gprof2dot.OprofileParser.match_primary(), gprof2dot.OprofileParser.match_secondary(), gprof2dot.OprofileParser.match_separator(), gprof2dot.OprofileParser.parse(), gprof2dot.SharkParser.parse(), and gprof2dot.OprofileParser.parse_header().
def gprof2dot.LineParser.readline | ( | self | ) |
Definition at line 593 of file gprof2dot.py.
References gprof2dot.LineParser.__eof, and gprof2dot.LineParser.__line.
Referenced by gprof2dot.LineParser.consume(), gprof2dot.OprofileParser.parse(), gprof2dot.SharkParser.parse(), and gprof2dot.GprofParser.parse_cg().
gprof2dot.LineParser.__eof [private] |
Definition at line 591 of file gprof2dot.py.
Referenced by gprof2dot.LineParser.eof(), and gprof2dot.LineParser.readline().
gprof2dot.LineParser.__line [private] |
Definition at line 590 of file gprof2dot.py.
Referenced by gprof2dot.LineParser.consume(), gprof2dot.LineParser.eof(), gprof2dot.LineParser.lookahead(), and gprof2dot.LineParser.readline().
gprof2dot.LineParser._file [private] |
Definition at line 589 of file gprof2dot.py.