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
A text-formatting method to pretty-print the list of expected inputs (
Encountered unexpected input while parsing script. Expected ...
). If present, theEOF
expectation is always moved to the end of the list.