Optional
endIndex?: numberOptional
endPosition?: PointThe ending row/column position in which the query will be executed.
Optional
matchLimit?: numberThe maximum number of in-progress matches for this cursor. The limit must be > 0 and <= 65536.
Optional
maxStartDepth?: numberThe maximum start depth for a query cursor.
This prevents cursors from exploring children nodes at a certain depth. Note if a pattern includes many children, then they will still be checked.
The zero max start depth value can be used as a special behavior and it helps to destructure a subtree by staying on a node and using captures for interested parts. Note that the zero max start depth only limit a search depth for a pattern's root node but other nodes that are parts of the pattern may be searched at any depth what defined by the pattern structure.
Optional
startIndex?: numberThe starting byte offset in which the query will be executed.
Optional
startPosition?: PointThe starting row/column position in which the query will be executed.
Optional
timeoutMicros?: numberThe maximum duration in microseconds that query execution should be allowed to take before halting.
If query execution takes longer than this, it will halt early, returning None.
The ending byte offset in which the query will be executed.