Options
All
  • Public
  • Public/Protected
  • All
Menu

meml

Index

Functions

error

  • error(line: number, message: string, file?: string): void
  • Internal error reporting function

    Parameters

    • line: number
    • message: string
    • file: string = ''

    Returns void

errorAtToken

  • errorAtToken(token: Token, message: string, file?: string): void
  • Internal error reporting function for reporting an error at a specific token

    Parameters

    • token: Token
    • message: string
    • file: string = ''

    Returns void

formatContext

  • formatContext(context: string): string
  • Internal error formatting function

    Parameters

    • context: string

    Returns string

generalWarning

  • generalWarning(line: number, message: string): void
  • Internal warning function

    Parameters

    • line: number
    • message: string

    Returns void

linterAtToken

  • linterAtToken(token: Token, message: string): void
  • Internal error reporting function for reporting an linter warning at a specific token

    Parameters

    • token: Token
    • message: string

    Returns void

resetErrors

  • resetErrors(): void

Generated using TypeDoc