Class QueryCursor.State

java.lang.Object
io.github.treesitter.jtreesitter.QueryCursor.State
Enclosing class:
QueryCursor

public static final class QueryCursor.State extends Object
A class representing the current state of the query cursor.
Since:
0.25.0
  • Method Details

    • getCurrentByteOffset

      @Unsigned public int getCurrentByteOffset()
      Get the current byte offset of the cursor.
    • toString

      public String toString()
      Overrides:
      toString in class Object