Check if we are currently one level inside an inline ASM block. Returns: True if the top of the stack is a block containing inline ASM.
(self)
| 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. |
| 2972 | |
| 2973 | Returns: |
| 2974 | True if the top of the stack is a block containing inline ASM. |
| 2975 | """ |
| 2976 | return self.stack and self.stack[-1].inline_asm != _NO_ASM |
| 2977 | |
| 2978 | def InTemplateArgumentList(self, clean_lines, linenum, pos): |
| 2979 | """Check if current position is inside template argument list. |