See if the current thread-local scope has an IRBuilder. Returns ------- bool Whether the current thread-local scope has an IRBuilder
()
| 148 | |
| 149 | @staticmethod |
| 150 | def is_in_scope() -> bool: |
| 151 | """See if the current thread-local scope has an IRBuilder. |
| 152 | |
| 153 | Returns |
| 154 | ------- |
| 155 | bool |
| 156 | Whether the current thread-local scope has an IRBuilder |
| 157 | """ |
| 158 | return _ffi_api.IRBuilderIsInScope() # type: ignore[attr-defined] # pylint: disable=no-member |
| 159 | |
| 160 | def get(self) -> _Object: |
| 161 | """Get the constructed IR.""" |
no outgoing calls
no test coverage detected