TreeSitterUtf8InputCallback typedef
TreeSitterUtf8InputCallback =
List<int> Function(int byteOffset, TreeSitterPoint position)
Native-shaped callback input for UTF-8 parsing.
byteOffset and position identify the next unread byte. Returning an
empty list is an authoritative end-of-input marker.
Implementation
typedef TreeSitterUtf8InputCallback =
List<int> Function(int byteOffset, TreeSitterPoint position);