Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/scan

Index

Variables

internalToken: IdToken = ...

Used for code originating within the compiler

Functions

  • default(code: string, file?: string): LexerToken[]
  • Generates a parse tree from list of tokens Really only benefit here is that this collapses containers

    Parameters

    • code: string

      code to scan

    • Optional file: string

      file name/path

    Returns LexerToken[]

  • Generates a list of tokens from given program source

    Parameters

    • src: string

      program source code

    • Optional file: string

      file name/path

    Returns LexerToken[]

    • List of tokens

Generated using TypeDoc