monaco-definition-provider - v2.0.0
    Preparing search index...

    Interface PythonParserOptions

    interface PythonParserOptions {
        grammarWasm?: string | Uint8Array<ArrayBufferLike>;
        locateFile?: (fileName: string, scriptDirectory: string) => string;
    }
    Index

    Properties

    grammarWasm?: string | Uint8Array<ArrayBufferLike>

    URL/path to tree-sitter-python.wasm, or the wasm bytes directly. Defaults to tree-sitter-python.wasm next to the built library (shipped in the package's dist), resolved via import.meta.url.

    locateFile?: (fileName: string, scriptDirectory: string) => string

    Emscripten locateFile for the core web-tree-sitter runtime wasm (web-tree-sitter.wasm). Usually only needed when a bundler moves it.