Get class info on the top of the stack. Returns: A _ClassInfo object if we are inside a class, or None otherwise.
(self)
| 2649 | line = matched.group(2) |
| 2650 | |
| 2651 | def InnermostClass(self): |
| 2652 | """Get class info on the top of the stack. |
| 2653 | |
| 2654 | Returns: |
| 2655 | A _ClassInfo object if we are inside a class, or None otherwise. |
| 2656 | """ |
| 2657 | for i in range(len(self.stack), 0, -1): |
| 2658 | classinfo = self.stack[i - 1] |
| 2659 | if isinstance(classinfo, _ClassInfo): |
| 2660 | return classinfo |
| 2661 | return None |
| 2662 | |
| 2663 | def CheckCompletedBlocks(self, filename, error): |
| 2664 | """Checks that all classes and namespaces have been completely parsed. |
no outgoing calls
no test coverage detected