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

    Interface PikeConstant

    Pike constant Matches Tools.AutoDoc.PikeObjects.Constant

    interface PikeConstant {
        branch?: number;
        children?: PikeSymbol[];
        classname?: string;
        condition?: string;
        conditional?: true | 1;
        deprecated?: boolean;
        documentation?: AutodocDocumentation;
        inherited?: boolean;
        inheritedFrom?: string;
        kind: "constant";
        modifiers: string[];
        name: string;
        position?: PikePosition;
        range?: {
            end: { character: number; line: number };
            start: { character: number; line: number };
        };
        selectionRange?: {
            end: { character: number; line: number };
            start: { character: number; line: number };
        };
        type?: PikeType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    branch?: number

    Preprocessor branch index (0 for #if, 1+ for #elif/#else)

    children?: PikeSymbol[]

    Child symbols (for classes, modules, etc.)

    classname?: string

    Class/module path for import and inherit statements

    condition?: string

    Preprocessor condition expression (e.g., "DEBUG", "CONSTANT")

    conditional?: true | 1

    Preprocessor conditional flag (true if inside #if/#elif/#else block)

    deprecated?: boolean

    Whether symbol is deprecated (convenience flag)

    documentation?: AutodocDocumentation

    AutoDoc documentation (from parse)

    inherited?: boolean

    Whether the symbol is inherited

    inheritedFrom?: string

    Name of the class/module it is inherited from

    kind: "constant"

    Symbol kind

    modifiers: string[]

    Modifiers (public, private, static, etc.)

    name: string

    Symbol name

    position?: PikePosition

    Position in source

    range?: {
        end: { character: number; line: number };
        start: { character: number; line: number };
    }

    Full symbol range (for LSP DocumentSymbol compatibility)

    selectionRange?: {
        end: { character: number; line: number };
        start: { character: number; line: number };
    }

    Symbol identifier range (for LSP DocumentSymbol compatibility)

    type?: PikeType

    Constant type