Check if we are currently one level inside a class or struct declaration. Returns: True if top of the stack is a class/struct, False otherwise.
(self)
| 2455 | return self.stack and isinstance(self.stack[-1], _ExternCInfo) |
| 2456 | |
| 2457 | def InClassDeclaration(self): |
| 2458 | """Check if we are currently one level inside a class or struct declaration. |
| 2459 | |
| 2460 | Returns: |
| 2461 | True if top of the stack is a class/struct, False otherwise. |
| 2462 | """ |
| 2463 | return self.stack and isinstance(self.stack[-1], _ClassInfo) |
| 2464 | |
| 2465 | def InAsmBlock(self): |
| 2466 | """Check if we are currently one level inside an inline ASM block. |
nothing calls this directly
no outgoing calls
no test coverage detected