@eagleoutice/flowr - v2.15.8
    Preparing search index...

    Interface TreeSitterEngineConfig

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

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index
    lax?: boolean

    Whether to keep parsing code that does not parse, so what tree-sitter did understand is still analyzed; the strict parser rejects the file instead. Off by default.

    new FlowrAnalyzerBuilder().setEngine('tree-sitter').configure('engine.tree-sitter.lax', true)
    
    treeSitterWasmPath?: string
    type: "tree-sitter"
    wasmPath?: string

    The path to the tree-sitter-r WASM binary to use; defaults to DEFAULT_TREE_SITTER_R_WASM_PATH.