Uses of Annotation Interface
io.github.treesitter.jtreesitter.Unsigned

  • Uses of Unsigned in io.github.treesitter.jtreesitter

    Fields in io.github.treesitter.jtreesitter with annotations of type Unsigned
    Modifier and Type
    Field
    Description
    static final int
    The latest ABI version that is supported by the current version of the library.
    static final int
    The earliest ABI version that is supported by the current version of the library.
    Methods in io.github.treesitter.jtreesitter with annotations of type Unsigned
    Modifier and Type
    Method
    Description
    int
    Point.column()
    Returns the value of the column record component.
    int
    Range.endByte()
    Returns the value of the endByte record component.
    int
    Query.endByteForPattern(int index)
    Get the byte offset where the given pattern ends in the query's source.
    int
    Language.getAbiVersion()
    Get the ABI version number for this language.
    int
    Deprecated.
    Use getCaptureNames().size() instead.
    int
    Get the number of this node's children.
    int
    Parser.State.getCurrentByteOffset()
    Get the current byte offset of the parser.
    int
    QueryCursor.State.getCurrentByteOffset()
    Get the current byte offset of the cursor.
    int
    TreeCursor.getCurrentDepth()
    Get the depth of the cursor's current node relative to the original node that the cursor was constructed with.
    int
    Get the index of the cursor's current node out of the descendants of the original node that the cursor was constructed with.
    short
    TreeCursor.getCurrentFieldId()
    Get the field ID of the tree cursor's current node, or 0.
    short
    LookaheadIterator.getCurrentSymbol()
    Get the current symbol ID.
    int
    Get the number of this node's descendants, including the node itself.
    int
    Node.getEndByte()
    Get the end byte of the node.
    int
    Language.getFieldCount()
    Get the number of distinct field names in this language
    short
    Language.getFieldIdForName(String name)
    Get the numerical ID for the given field name.
    short
    Get the numerical ID of the node's type, as it appears in the grammar ignoring aliases.
    long
    Node.getId()
    Get the numerical ID of the node.
    int
    QueryCursor.getMatchLimit()
    Get the maximum number of in-progress matches.
    int
    Get the number of this node's named children.
    short
    Get the parse state after this node.
    short
    Get the parse state of this node.
    int
    Get the number of patterns in the query.
    int
    Get the start byte of the node.
    int
    Language.getStateCount()
    Get the number of valid states in this language
    short[]
    Language.getSubtypes(short supertype)
    Get all symbols for a given supertype symbol.
    short[]
    Language.getSupertypes()
    Get all supertype symbols for the language.
    short
    Node.getSymbol()
    Get the numerical ID of the node's type.
    int
    Language.getSymbolCount()
    Get the number of distinct node types in this language.
    short
    Language.getSymbolForName(String name, boolean isNamed)
    Get the numerical ID for the given node type, or 0 if not found.
    long
    Deprecated.
    Use Parser.Options instead.
    long
    QueryCursor.getTimeoutMicros()
    Deprecated.
    Use QueryCursor.Options instead.
    int
    Language.getVersion()
    Deprecated, for removal: This API element is subject to removal in a future version.
    TreeCursor.gotoFirstChildForByte(int offset)
    Move the cursor to the first child of its current node that contains or starts after the given byte offset.
    TreeCursor.gotoFirstChildForPoint(Point point)
    Move the cursor to the first child of its current node that contains or starts after the given point.
    short
    LookaheadIterator.Symbol.id()
    Returns the value of the id record component.
    short
    LanguageMetadata.Version.major()
    Returns the value of the major record component.
    short
    LanguageMetadata.Version.minor()
    Returns the value of the minor record component.
    int
    InputEdit.newEndByte()
    Returns the value of the newEndByte record component.
    short
    Language.nextState(short state, short symbol)
    Get the next parse state.
    int
    InputEdit.oldEndByte()
    Returns the value of the oldEndByte record component.
    short
    LanguageMetadata.Version.patch()
    Returns the value of the patch record component.
    int
    QueryMatch.patternIndex()
    Returns the value of the patternIndex record component.
    int
    Point.row()
    Returns the value of the row record component.
    int
    InputEdit.startByte()
    Returns the value of the startByte record component.
    int
    Range.startByte()
    Returns the value of the startByte record component.
    int
    Query.startByteForPattern(int index)
    Get the byte offset where the given pattern starts in the query's source.
    LookaheadIterator.symbols()
    Iterate over the symbol IDs.
    Method parameters in io.github.treesitter.jtreesitter with annotations of type Unsigned
    Modifier and Type
    Method
    Description
    ParseCallback.apply(Integer offset, @NonNull Point point)
    void
    Query.disablePattern(int index)
    Disable a certain pattern within a query.
    int
    Query.endByteForPattern(int index)
    Get the byte offset where the given pattern ends in the query's source.
    Node.getChild(int index)
    Get the node's child at the given index, if any.
    Node.getChildByFieldId(short id)
    Get the node's first child with the given field ID, if any.
    Node.getChildrenByFieldId(short id)
    Get a list of the node's children with the given field ID.
    Node.getDescendant(int start, int end)
    Get the smallest node within this node that spans the given byte range, if any.
    Node.getDescendant(int start, int end)
    Get the smallest node within this node that spans the given byte range, if any.
    Node.getFieldNameForChild(int index)
    Get the field name of this node’s child at the given index, if available.
    Language.getFieldNameForId(short id)
    Get the field name for the given numerical id.
    Node.getFieldNameForNamedChild(int index)
    Get the field name of this node's named child at the given index, if available.
    Node.getFirstChildForByte(int byte_offset)
    Get the node's first child that contains or starts after the given byte offset.
    Node.getFirstNamedChildForByte(int byte_offset)
    Get the node's first named child that contains or starts after the given byte offset.
    Node.getNamedChild(int index)
    Get the node's named child at the given index, if any.
    Node.getNamedDescendant(int start, int end)
    Get the smallest named node within this node that spans the given byte range, if any.
    Node.getNamedDescendant(int start, int end)
    Get the smallest named node within this node that spans the given byte range, if any.
    Query.getPatternAssertions(int index, boolean positive)
    Get the property assertions for the given pattern index.
    Query.getPatternSettings(int index)
    Get the property settings for the given pattern index.
    Tree.getRootNodeWithOffset(int bytes, Point extent)
    Get the root node of the syntax tree, but with its position shifted forward by the given offset.
    short[]
    Language.getSubtypes(short supertype)
    Get all symbols for a given supertype symbol.
    Language.getSymbolName(short symbol)
    Get the node type for the given numerical ID.
    void
    TreeCursor.gotoDescendant(int index)
    Move the cursor to the node that is the nth descendant of the original node that the cursor was constructed with.
    TreeCursor.gotoFirstChildForByte(int offset)
    Move the cursor to the first child of its current node that contains or starts after the given byte offset.
    boolean
    Language.isNamed(short symbol)
    Check if the node for the given numerical ID is named.
    boolean
    Query.isPatternGuaranteedAtStep(int offset)
    Check if a pattern is guaranteed to match once a given byte offset is reached.
    boolean
    Query.isPatternNonLocal(int index)
    Check if the pattern with the given index is "non-local".
    boolean
    Query.isPatternRooted(int index)
    Check if the pattern with the given index has a single root node.
    boolean
    Language.isSupertype(short symbol)
    Check if the node for the given numerical ID is a supertype.
    boolean
    Language.isVisible(short symbol)
    Check if the node for the given numerical ID is visible.
    Language.lookaheadIterator(short state)
    Create a new lookahead iterator for the given parse state.
    short
    Language.nextState(short state, short symbol)
    Get the next parse state.
    short
    Language.nextState(short state, short symbol)
    Get the next parse state.
    boolean
    LookaheadIterator.reset(short state)
    Reset the lookahead iterator to the given state.
    boolean
    LookaheadIterator.reset(short state, Language language)
    Reset the lookahead iterator to the given state and another language.
    QueryCursor.setByteRange(int startByte, int endByte)
    Set the range of bytes in which the query will be executed.
    QueryCursor.setByteRange(int startByte, int endByte)
    Set the range of bytes in which the query will be executed.
    QueryCursor.setMatchLimit(int matchLimit)
    Get the maximum number of in-progress matches.
    QueryCursor.setMaxStartDepth(int maxStartDepth)
    Set the maximum start depth for the query.
    Parser.setTimeoutMicros(long timeoutMicros)
    Deprecated.
    Use Parser.Options instead.
    QueryCursor.setTimeoutMicros(long timeoutMicros)
    Deprecated.
    Use QueryCursor.Options instead.
    int
    Query.startByteForPattern(int index)
    Get the byte offset where the given pattern starts in the query's source.
    Constructor parameters in io.github.treesitter.jtreesitter with annotations of type Unsigned
    Modifier
    Constructor
    Description
     
    InputEdit(int startByte, int oldEndByte, int newEndByte, Point startPoint, Point oldEndPoint, Point newEndPoint)
    Creates an instance of a InputEdit record class.
     
    InputEdit(int startByte, int oldEndByte, int newEndByte, Point startPoint, Point oldEndPoint, Point newEndPoint)
    Creates an instance of a InputEdit record class.
     
    InputEdit(int startByte, int oldEndByte, int newEndByte, Point startPoint, Point oldEndPoint, Point newEndPoint)
    Creates an instance of a InputEdit record class.
     
    Point(int row, int column)
    Creates an instance of a Point record class.
     
    Point(int row, int column)
    Creates an instance of a Point record class.
     
    QueryMatch(int patternIndex, List<QueryCapture> captures)
    Creates an instance of a QueryMatch record class.
     
    Range(Point startPoint, Point endPoint, int startByte, int endByte)
    Creates an instance of a Range record class.
     
    Range(Point startPoint, Point endPoint, int startByte, int endByte)
    Creates an instance of a Range record class.
     
    Symbol(short id, String name)
    Creates an instance of a Symbol record class.
     
    Version(short major, short minor, short patch)
    Creates an instance of a Version record class.
     
    Version(short major, short minor, short patch)
    Creates an instance of a Version record class.
     
    Version(short major, short minor, short patch)
    Creates an instance of a Version record class.