Return True if the given Block has a Terminator operation.
(self, block)
| 802 | return self.inIfStmtBlockStack > 0 |
| 803 | |
| 804 | def hasTerminator(self, block): |
| 805 | """Return True if the given Block has a Terminator operation.""" |
| 806 | if len(block.operations) > 0: |
| 807 | return cudaq_runtime.isTerminator( |
| 808 | block.operations[len(block.operations) - 1]) |
| 809 | return False |
| 810 | |
| 811 | def isArithmeticType(self, type): |
| 812 | """Return True if the given type is an integer, float, or complex |
no outgoing calls
no test coverage detected