withProgressCallback method

TreeSitterParseOptions withProgressCallback(
  1. TreeSitterProgressCallback callback
)

Returns the upstream builder value with callback installed.

Implementation

TreeSitterParseOptions withProgressCallback(
  TreeSitterProgressCallback callback,
) => TreeSitterParseOptions(progressCallback: callback);