TreeSitterUtf16InputCallback typedef
TreeSitterUtf16InputCallback =
List<int> Function(int byteOffset, TreeSitterPoint position)
Native-shaped callback input for UTF-16 parsing.
As in Tree-sitter 0.25's Rust UTF-16 callback API, offsets and point columns are measured in UTF-16 code units.
Implementation
typedef TreeSitterUtf16InputCallback =
List<int> Function(int codeUnitOffset, TreeSitterPoint position);