getLexerErrorMessage method

String getLexerErrorMessage(
  1. int lineNo,
  2. int position,
  3. String input,
  4. String matched,
  5. String match,
)

Implementation

String getLexerErrorMessage(int lineNo, int position,
    String input, String matched, String match)
=> 'Line $lineNo:\n${ShowPosition(input, matched, match).show()}\nUnrecognized text.';