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)
| 2960 | return self.stack and isinstance(self.stack[-1], _ExternCInfo) |
| 2961 | |
| 2962 | def InClassDeclaration(self): |
| 2963 | """Check if we are currently one level inside a class or struct declaration. |
| 2964 | |
| 2965 | Returns: |
| 2966 | True if top of the stack is a class/struct, False otherwise. |
| 2967 | """ |
| 2968 | return self.stack and isinstance(self.stack[-1], _ClassInfo) |
| 2969 | |
| 2970 | def InAsmBlock(self): |
| 2971 | """Check if we are currently one level inside an inline ASM block. |
nothing calls this directly
no outgoing calls
no test coverage detected