ReadonlyincrementalWhether the parser has incremental parsing capabilities
ReadonlynameStaticinitInitializes the underlying tree-sitter parser. This only needs to be called once globally.
Optionalconfig: TreeSitterEngineConfig
The configuration for the tree-sitter engine, which can include paths to the wasm files.
OptionaloverrideWasmPath: string
The path to the tree-sitter-r wasm file, which takes precedence over the config and default paths if set.
OptionaloverrideTreeSitterWasmPath: string
The path to the tree-sitter wasm file, which takes precedence over the config and default paths if set.
Parses the given request and uses the provided context (only if the parser itself supports incrementality ParserContent#incremental).
Synchronous and (way) faster alternative to the RShell using tree-sitter.