Uses of Class
io.github.treesitter.jtreesitter.Query
-
Uses of Query in io.github.treesitter.jtreesitter
Modifier and TypeMethodDescriptionCreate a new query from a string containing one or more S-expression patterns.Query.setByteRange
(int startByte, int endByte) Set the range of bytes in which the query will be executed.Query.setMatchLimit
(int matchLimit) Get the maximum number of in-progress matches.Query.setMaxStartDepth
(int maxStartDepth) Set the maximum start depth for the query.Query.setPointRange
(Point startPoint, Point endPoint) Set the range of points in which the query will be executed.Query.setTimeoutMicros
(long timeoutMicros) Set the maximum duration in microseconds that query execution should be allowed to take before halting.