Get class info on the top of the stack. Returns: A _ClassInfo object if we are inside a class, or None otherwise.
(self)
| 3235 | line = matched.group(2) |
| 3236 | |
| 3237 | def InnermostClass(self): |
| 3238 | """Get class info on the top of the stack. |
| 3239 | |
| 3240 | Returns: |
| 3241 | A _ClassInfo object if we are inside a class, or None otherwise. |
| 3242 | """ |
| 3243 | for i in range(len(self.stack), 0, -1): |
| 3244 | classinfo = self.stack[i - 1] |
| 3245 | if isinstance(classinfo, _ClassInfo): |
| 3246 | return classinfo |
| 3247 | return None |
| 3248 | |
| 3249 | def CheckCompletedBlocks(self, filename, error): |
| 3250 | """Checks that all classes and namespaces have been completely parsed. |
no outgoing calls
no test coverage detected