Function describeExpectedInput

  • A text-formatting method to pretty-print the list of expected inputs (Encountered unexpected input while parsing script. Expected ...). If present, the EOF expectation is always moved to the end of the list.

    Parameters

    • expectedArray: string[]

      the alphabetized list of expected inputs produced by parseScript

    Returns string

Generated using TypeDoc