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

    Type Database - Central storage for all type information

    Index

    Constructors

    Methods

    • Get memory usage statistics

      Returns {
          maxBytes: number;
          programCount: number;
          symbolCount: number;
          totalBytes: number;
          utilizationPercent: number;
      }

    • Estimate memory size of a program

      Parameters

      • symbols: Map<string, IntrospectedSymbol>
      • inherits: InheritanceInfo[]

      Returns number