TreeSitterParser.unbound constructor

TreeSitterParser.unbound({
  1. TreeSitterParserRuntimeHooks? runtimeHooks,
})

Implementation

TreeSitterParser.unbound({this.runtimeHooks})
  : _grammar = null,
    _generatedParser = null,
    _cancellationToken = runtimeHooks?.cancellationToken,
    _timeout = runtimeHooks?.timeout ?? Duration.zero,
    _logger = runtimeHooks?.logger,
    _debugGraphSink = runtimeHooks?.debugGraphSink,
    _defaultParseOptions = runtimeHooks?.parseOptions;