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)
| 2946 | return self.stack and isinstance(self.stack[-1], _ExternCInfo) |
| 2947 | |
| 2948 | def InClassDeclaration(self): |
| 2949 | """Check if we are currently one level inside a class or struct declaration. |
| 2950 | |
| 2951 | Returns: |
| 2952 | True if top of the stack is a class/struct, False otherwise. |
| 2953 | """ |
| 2954 | return self.stack and isinstance(self.stack[-1], _ClassInfo) |
| 2955 | |
| 2956 | def InAsmBlock(self): |
| 2957 | """Check if we are currently one level inside an inline ASM block. |
nothing calls this directly
no outgoing calls
no test coverage detected