setMaxStartDepth method
Implementation
TreeSitterQueryCursor setMaxStartDepth(int? maxStartDepth) {
_checkNotDisposed();
if (maxStartDepth != null && maxStartDepth < 0) {
throw RangeError.range(maxStartDepth, 0, null, 'maxStartDepth');
}
_maxStartDepth = maxStartDepth;
return this;
}