(self)
Parse the call graph.
Parse the call graph.
Parse the call graph .
def parse_cg(self):
        """Parse the call graph."""

        # skip call graph header
        while not self._cg_header_re.match(self.readline()):
            pass
        line = self.readline()
        while self._cg_header_re.match(line):
            line = self.readline()

        # process call graph entries
        entry_lines = []
        while line != '\014': # form feed
            if line and not line.isspace():
                if self._cg_sep_re.match(line):
                    self.parse_cg_entry(entry_lines)
                    entry_lines = []
                else:
                    entry_lines.append(line)            
            line = self.readline()
def parse_cg ( self ) : # skip call graph header while not self . _cg_header_re . match ( self . readline ( ) ) : pass line = self . readline ( ) while self . _cg_header_re . match ( line ) : line = self . readline ( ) # process call graph entries entry_lines = [ ] while line != '\014' : # form feed if line and not line . isspace ( ) : if self . _cg_sep_re . match ( line ) : self . parse_cg_entry ( entry_lines ) entry_lines = [ ] else : entry_lines . append ( line ) line = self . readline ( )