cxx-frontend
    Preparing search index...

    Interface LanguageServerOptions

    The options of LanguageServer.start.

    interface LanguageServerOptions {
        appdir?: string;
        defines?: string[];
        exists?: (path: string) => boolean;
        includePaths?: string[];
        quoteIncludePaths?: string[];
        readFile?: (path: string) => Promise<string | undefined>;
        std?: "c++14" | "c++17" | "c++20" | "c++23" | "c++26";
        sysroot?: string;
        systemIncludePaths?: string[];
        undefines?: string[];
        onMessage(message: JsonRpcMessage): void;
        onTrace?(message: string, verbose?: string): void;
    }

    Hierarchy

    • Omit<NativeLanguageServerOptions, "onMessage" | "onTrace" | "shouldContinue">
      • LanguageServerOptions
    Index
    appdir?: string
    defines?: string[]
    exists?: (path: string) => boolean
    includePaths?: string[]
    quoteIncludePaths?: string[]
    readFile?: (path: string) => Promise<string | undefined>
    std?: "c++14" | "c++17" | "c++20" | "c++23" | "c++26"
    sysroot?: string
    systemIncludePaths?: string[]
    undefines?: string[]
    • Receives parser queue, phase, cancellation and code generation timings.

      Parameters

      • message: string
      • Optionalverbose: string

      Returns void