TreeSitterParser.unbound constructor
TreeSitterParser.unbound({
- 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;