Get the current IRBuilder put in the with-scope. Returns ------- builder : IRBuilder The current IRBuilder.
()
| 137 | |
| 138 | @staticmethod |
| 139 | def current() -> "IRBuilder": |
| 140 | """Get the current IRBuilder put in the with-scope. |
| 141 | |
| 142 | Returns |
| 143 | ------- |
| 144 | builder : IRBuilder |
| 145 | The current IRBuilder. |
| 146 | """ |
| 147 | return _ffi_api.IRBuilderCurrent() # type: ignore[attr-defined] # pylint: disable=no-member |
| 148 | |
| 149 | @staticmethod |
| 150 | def is_in_scope() -> bool: |
no outgoing calls
no test coverage detected