intoRaw method
Moves cursor configuration and execution status into a one-shot handle.
Implementation
TreeSitterRawHandle<TreeSitterQueryCursor> intoRaw() {
_checkNotDisposed();
final moved = TreeSitterQueryCursor()
.._range = _range
.._matchLimit = _matchLimit
.._timeoutMicros = _timeoutMicros
.._maxStartDepth = _maxStartDepth
.._lastExecution = _lastExecution;
dispose();
return TreeSitterRawHandle<TreeSitterQueryCursor>.owned(moved);
}