Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ThrowErrorListener

Hierarchy

  • ErrorListener
    • ThrowErrorListener

Index

Properties

Static INSTANCE

INSTANCE: ThrowErrorListener = new ThrowErrorListener()

Methods

reportAmbiguity

  • reportAmbiguity(recognizer: Recognizer, dfa: any, startIndex: number, stopIndex: number, exact: any, ambigAlts: any, configs: any): void
  • Parameters

    • recognizer: Recognizer
    • dfa: any
    • startIndex: number
    • stopIndex: number
    • exact: any
    • ambigAlts: any
    • configs: any

    Returns void

reportAttemptingFullContext

  • reportAttemptingFullContext(recognizer: Recognizer, dfa: any, startIndex: number, stopIndex: number, conflictingAlts: any, configs: any): void
  • Parameters

    • recognizer: Recognizer
    • dfa: any
    • startIndex: number
    • stopIndex: number
    • conflictingAlts: any
    • configs: any

    Returns void

reportContextSensitivity

  • reportContextSensitivity(recognizer: Recognizer, dfa: any, startIndex: number, stopIndex: number, conflictingAlts: any, configs: any): void
  • Parameters

    • recognizer: Recognizer
    • dfa: any
    • startIndex: number
    • stopIndex: number
    • conflictingAlts: any
    • configs: any

    Returns void

syntaxError

  • syntaxError(_recognizer: Recognizer, _offendingSymbol: Token, line: number, column: number, msg: string, _e: any): void
  • Parameters

    • _recognizer: Recognizer
    • _offendingSymbol: Token
    • line: number
    • column: number
    • msg: string
    • _e: any

    Returns void

Generated using TypeDoc