TreeSitterParserInternalTrace typedef
TreeSitterParserInternalTrace =
void Function(String dotFragment)
Receives the pinned C-runtime name of each parser helper as its managed counterpart executes.
This is an audit surface, not an editor scheduling hook. In particular it cannot halt, cancel, or restart a parse. Keeping it observational makes it possible to prove helper-by-helper coverage against an instrumented Tree-sitter runtime without changing ordinary parser behavior.
Implementation
typedef TreeSitterParserInternalTrace = void Function(String functionName);