int
Returns the value of the
column
record component.
int
Returns the value of the endByte
record component.
int
Get the byte offset where the given pattern ends in the query's source.
int
Get the number of captures in the query.
int
Get the number of this node's children.
int
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
Get the field ID of the tree cursor's current node, or 0
.
short
Get the current symbol ID.
int
Get the number of this node's descendants, including the node itself.
int
Get the end byte of the node.
int
Get the number of distinct field names in this language
short
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
Get the numerical ID of the node.
int
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
Get the number of valid states in this language
short
Get the numerical ID of the node's type.
int
Get the number of distinct node types in this language.
short
Get the numerical ID for the given node type, or 0
if not found.
long
Get the maximum duration in microseconds that
parsing should be allowed to take before halting.
long
Get the maximum duration in microseconds that query
execution should be allowed to take before halting.
int
Get the ABI version number for this language.
Move the cursor to the first child of its current
node that extends beyond the given byte offset.
Move the cursor to the first child of its current
node that extends beyond the given point.
short
LookaheadIterator.Symbol.id()
Returns the value of the id
record component.
int
Returns the value of the newEndByte
record component.
short
Language.nextState(short state,
short symbol)
Get the next parse state.
int
Returns the value of the oldEndByte
record component.
int
Returns the value of the patternIndex
record component.
int
Returns the value of the
row
record component.
int
Returns the value of the startByte
record component.
int
Returns the value of the startByte
record component.
int
Get the byte offset where the given pattern starts in the query's source.
Iterate over the symbol IDs.
void
Disable a certain pattern within a query.
int
Get the byte offset where the given pattern ends in the query's source.
Get the node's child at the given index, if any.
Get the node's first child with the given field ID, if any.
Get a list of the node's children with the given field ID.
Get the smallest node within this node that spans the given byte range, if any.
Get the smallest node within this node that spans the given byte range, if any.
Get the field name of this node’s child at the given index, if available.
Get the field name for the given numerical id.
Get the field name of this node's named child at the given index, if available.
Get the node's named child at the given index, if any.
Get the smallest named node within this node that spans the given byte range, if any.
Get the smallest named node within this node that spans the given byte range, if any.
Get the property assertions for the given pattern index.
Get the property settings for the given pattern index.
Get the root node of the syntax tree, but with
its position shifted forward by the given offset.
Get the node type for the given numerical ID.
void
Move the cursor to the node that is the nth descendant of
the original node that the cursor was constructed with.
Move the cursor to the first child of its current
node that extends beyond the given byte offset.
boolean
Check if the node for the given numerical ID is named.
boolean
Check if a pattern is guaranteed to match once a given byte offset is reached.
boolean
Check if the pattern with the given index is "non-local".
boolean
Check if the pattern with the given index has a single root node.
boolean
Check if the node for the given numerical ID is a supertype.
boolean
Check if the node for the given numerical ID is visible.
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
Reset the lookahead iterator to the given state and another language.
Set the range of bytes in which the query will be executed.
Set the range of bytes in which the query will be executed.
Get the maximum number of in-progress matches.
Set the maximum start depth for the query.
Set the maximum duration in microseconds that
parsing should be allowed to take before halting.
Set the maximum duration in microseconds that query
execution should be allowed to take before halting.
int
Get the byte offset where the given pattern starts in the query's source.
Creates an instance of a InputEdit
record class.
Creates an instance of a InputEdit
record class.
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.
Creates an instance of a QueryMatch record class.
Creates an instance of a Range record class.
Creates an instance of a Range record class.
Creates an instance of a Symbol
record class.