Back to index

python-biopython  1.60
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
debug_blast_parser.DebuggingConsumer Class Reference

List of all members.

Public Member Functions

def __init__
def __getattr__

Public Attributes


Private Member Functions

def _decorated_section
def _decorated

Private Attributes


Detailed Description

Definition at line 36 of file

Constructor & Destructor Documentation

def debug_blast_parser.DebuggingConsumer.__init__ (   self,
  decorated = None 

Definition at line 37 of file

00038     def __init__(self, decorated=None):
00039         self.linenum = 0
00040         if decorated is None:
00041             decorated = ParserSupport.AbstractConsumer()
00042         self.decorated = decorated
        self._prev_attr = None

Member Function Documentation

Definition at line 48 of file

00049     def __getattr__(self, attr):
00050         self._prev_attr = attr
00051         if attr.startswith('start_') or attr.startswith('end_'):
00052             return self._decorated_section
00053         else:
00054             return self._decorated

Here is the call graph for this function:

def debug_blast_parser.DebuggingConsumer._decorated (   self,
) [private]

Definition at line 45 of file

00046     def _decorated(self, data):
00047         getattr(self.decorated, self._prev_attr)(data)
        self.linenum += 1

Here is the caller graph for this function:

Definition at line 43 of file

00044     def _decorated_section(self):
        getattr(self.decorated, self._prev_attr)()

Here is the caller graph for this function:

Member Data Documentation

Definition at line 42 of file

Definition at line 41 of file

Definition at line 38 of file

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