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

Method pushScope

python/cudaq/kernel/ast_bridge.py:152–153  ·  view source on GitHub ↗
(self, scope_root)

Source from the content-addressed store, hash-verified

150 self.emitError = error_handler or default_error_handler
151
152 def pushScope(self, scope_root):
153 self._scope = PyScopedSymbolTable.Scope(scope_root, parent=self._scope)
154
155 def popScope(self):
156 if not self._scope:

Callers 2

visit_FunctionDefMethod · 0.80

Calls 1

ScopeMethod · 0.80

Tested by

no test coverage detected