TreeSitterTableInputRefill typedef

TreeSitterTableInputRefill = bool Function(int byteOffset, TreeSitterTablePoint point)

Refills a callback-backed parser input at byteOffset.

The callback must append bytes to the mutable source supplied to the lexer and return whether the requested byte is now available. Returning false is the authoritative native end-of-input marker.

Implementation

typedef TreeSitterTableInputRefill =
    bool Function(int byteOffset, TreeSitterTablePoint point);