I was wondering how could it be possible to format in a human-readable format a ParseException thrown by JavaCC: in fact it includes fields such asbeginLine
, beginColumn
, endColumn
, endLine
in the token reference of the exception, but not the reference to the source parsed.
Thanks! :)