Check if we are currently one level inside an 'extern "C"' block. Returns: True if top of the stack is an extern block, False otherwise.
(self)
| 3264 | return self.stack and isinstance(self.stack[-1], _NamespaceInfo) |
| 3265 | |
| 3266 | def InExternC(self): |
| 3267 | """Check if we are currently one level inside an 'extern "C"' block. |
| 3268 | |
| 3269 | Returns: |
| 3270 | True if top of the stack is an extern block, False otherwise. |
| 3271 | """ |
| 3272 | return self.stack and isinstance(self.stack[-1], _ExternCInfo) |
| 3273 | |
| 3274 | def InClassDeclaration(self): |
| 3275 | """Check if we are currently one level inside a class or struct declaration. |