interface TreeSitterEngineConfig {
    lax?: boolean;
    treeSitterWasmPath?: string;
    type: "tree-sitter";
    wasmPath?: string;
    [key: string]: unknown;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: unknown

Hierarchy-Diagram

UML class diagram of TreeSitterEngineConfig

Properties

lax?: boolean

Whether to use the lax parser for parsing R code (allowing for syntax errors). If this is undefined, the strict parser will be used.

treeSitterWasmPath?: string

The path to the tree-sitter WASM binary to use. If this is undefined, the path specified by the tree-sitter package will be used.

type: "tree-sitter"
wasmPath?: string

The path to the tree-sitter-r WASM binary to use. If this is undefined, DEFAULT_TREE_SITTER_R_WASM_PATH will be used.