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)
| 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. |
| 2467 | |
| 2468 | Returns: |
| 2469 | True if the top of the stack is a block containing inline ASM. |
| 2470 | """ |
| 2471 | return self.stack and self.stack[-1].inline_asm != _NO_ASM |
| 2472 | |
| 2473 | def InTemplateArgumentList(self, clean_lines, linenum, pos): |
| 2474 | """Check if current position is inside template argument list. |