Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGrammarValidatorErrorMessageProvider

Hierarchy

  • IGrammarValidatorErrorMessageProvider

Index

Methods

buildAlternationAmbiguityError

  • buildAlternationAmbiguityError(options: object): string
  • Parameters

    Returns string

buildAlternationPrefixAmbiguityError

  • buildAlternationPrefixAmbiguityError(options: object): string
  • Parameters

    Returns string

buildDuplicateFoundError

buildDuplicateNestedRuleNameError

buildDuplicateRuleNameError

  • buildDuplicateRuleNameError(options: object): string
  • Parameters

    • options: object
      • grammarName: string
      • topLevelRule: Rule | string

    Returns string

buildEmptyAlternationError

  • buildEmptyAlternationError(options: object): any
  • Parameters

    • options: object

    Returns any

buildEmptyRepetitionError

  • buildEmptyRepetitionError(options: object): string

buildInvalidNestedRuleNameError

buildInvalidRuleNameError

  • buildInvalidRuleNameError(options: object): string
  • Parameters

    • options: object
      • expectedPattern: RegExp
      • topLevelRule: Rule

    Returns string

buildLeftRecursionError

  • buildLeftRecursionError(options: object): string
  • Parameters

    • options: object
      • leftRecursionPath: Rule[]
      • topLevelRule: Rule

    Returns string

buildNamespaceConflictError

  • buildNamespaceConflictError(topLevelRule: Rule): string
  • Parameters

    • topLevelRule: Rule

    Returns string

buildTokenNameError

  • buildTokenNameError(options: object): any
  • Parameters

    • options: object
      • expectedPattern: RegExp
      • tokenType: TokenType

    Returns any

buildTooManyAlternativesError

  • buildTooManyAlternativesError(options: object): string
  • Parameters

    Returns string

Generated using TypeDoc