MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / pushIfStmtBlockStack

Method pushIfStmtBlockStack

python/cudaq/kernel/ast_bridge.py:784–786  ·  view source on GitHub ↗

Indicate that we are entering an if statement then or else block.

(self)

Source from the content-addressed store, hash-verified

782 self.inForBodyStack.pop()
783
784 def pushIfStmtBlockStack(self):
785 """Indicate that we are entering an if statement then or else block."""
786 self.inIfStmtBlockStack += 1
787
788 def popIfStmtBlockStack(self):
789 """Indicate that we have just left an if statement then or else

Callers 2

process_boolean_opMethod · 0.95
visit_IfMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected