Pike LSP TypeScript API - v0.1.0-alpha.20
    Preparing search index...

    Interface CompletionContext

    Completion context result from get_completion_context Uses Pike's tokenizer for accurate context detection

    interface CompletionContext {
        context:
            | "none"
            | "global"
            | "member_access"
            | "scope_access"
            | "identifier";
        objectName: string;
        operator: ""
        | "->"
        | "."
        | "::";
        prefix: string;
    }
    Index

    Properties

    context: "none" | "global" | "member_access" | "scope_access" | "identifier"

    Context type

    objectName: string

    Object/module name for member access (e.g., "Stdio" from "Stdio.")

    operator: "" | "->" | "." | "::"

    Access operator (if member access)

    prefix: string

    Partial prefix being typed