TreeSitterPoint class final
A zero-based Tree-sitter position. Columns are UTF-8 byte columns.
- Implemented types
Constructors
- TreeSitterPoint(int row, int column)
-
const
- TreeSitterPoint.fromNative(int row, int column)
-
Converts the native
TSPointrow and column into the public point type.factory
Properties
Methods
-
compareTo(
TreeSitterPoint other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNative(
) → ({int column, int row}) -
Converts to native
TSPointfields using Rust'susize as u32cast. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override