Language
A class that defines how to parse a particular language.
When a Language is generated by the Tree-sitter CLI, it is assigned an ABI version number that corresponds to the current CLI version.
Parameters
A pointer to a TSLanguage
cast to Long.
Throws
If the pointer is invalid or the version is incompatible.
A class that defines how to parse a particular language.
When a Language is generated by the Tree-sitter CLI, it is assigned an ABI version number that corresponds to the current CLI version.
Throws
If the pointer is invalid or the version is incompatible.
A class that defines how to parse a particular language.
When a Language is generated by the Tree-sitter CLI, it is assigned an ABI version number that corresponds to the current CLI version.
Parameters
A pointer to a TSLanguage
cast to Long.
Throws
If the pointer is invalid or the version is incompatible.
Constructors
Properties
The number of distinct field names in this language.
The number of distinct field names in this language.
The number of distinct field names in this language.
The number of distinct field names in this language.
The number of valid states in this language.
The number of valid states in this language.
The number of valid states in this language.
The number of valid states in this language.
The number of distinct node types in this language.
The number of distinct node types in this language.
The number of distinct node types in this language.
The number of distinct node types in this language.
Functions
Get the numerical ID for the given field name.
Get the numerical ID for the given field name.
Get the numerical ID for the given field name.
Get the numerical ID for the given field name.
Get the field name for the given numerical id.
Get the field name for the given numerical id.
Get the field name for the given numerical id.
Get the field name for the given numerical id.
Check if the node for the given numerical ID is named
Check if the node for the given numerical ID is named
Check if the node for the given numerical ID is a supertype.
Check if the node for the given numerical ID is a supertype.
Check if the node for the given numerical ID is a supertype.
Check if the node for the given numerical ID is a supertype.
Check if the node for the given numerical ID is visible.
Check if the node for the given numerical ID is visible.
Check if the node for the given numerical ID is visible.
Create a new lookahead iterator for the given parse state.
Create a new lookahead iterator for the given parse state.
Create a new lookahead iterator for the given parse state.
Create a new lookahead iterator for the given parse state.
Get the next parse state.
Get the next parse state.
Get the numerical ID for the given node type.
Get the numerical ID for the given node type.
Get the numerical ID for the given node type.
Get the numerical ID for the given node type.
Get the node type for the given numerical ID.
Get the node type for the given numerical ID.
Get the node type for the given numerical ID.
Get the node type for the given numerical ID.