Options
All
  • Public
  • Public/Protected
  • All
Menu

Module grammar

Index

Functions

  • validateGrammer(words: Word[]): boolean
  • Check for the sequence of words to be in legal order and complete.

    throws

    GrammarError

    Parameters

    • words: Word[]

      The sequence of words

    Returns boolean

    true if grammer was valid

Generated using TypeDoc