Options
All
  • Public
  • Public/Protected
  • All
Menu

Module tools/util

Index

Functions

  • Get a snapshot of a token

    Parameters

    • file: string

      file name/path

    • pos: number

      character index in file

    Returns FileSnapshot

  • formatErrorPos(errors: CompileError[]): string
  • Make a pretty error string

    Parameters

    • errors: CompileError[]

      Array of errors to display

    Returns string

    • formatted string with escape sequence colors
  • uid(): string
  • Genereate a globally unique identifier string

    Returns string

    unique string identifier

Generated using TypeDoc