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

    Interface ExpressionInfo

    Expression information extracted at cursor position. Used for go-to-definition and hover on module paths and member access.

    interface ExpressionInfo {
        base: string;
        fullPath: string;
        isModulePath: boolean;
        member: string | null;
        operator: "->" | "." | null;
        range: { end: number; start: number };
    }
    Index

    Properties

    base: string

    Base part (module path or variable name)

    fullPath: string

    Full expression text

    isModulePath: boolean

    True if base is a module path (dots only)

    member: string | null

    Member being accessed (after -> or final .)

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

    Last operator used ("." or "->")

    range: { end: number; start: number }

    Character range in document (0-indexed offsets)