You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As title. ANTLR allows to read the source interval (start offset, end offset, start row, end row, start col, end col) of any node. Trifecta has DeltaParsing. I did not find such an API here and I think this is a crucial feature for any further error reporting after parsing.
The text was updated successfully, but these errors were encountered:
There is Parser.index which gives the current offset, which can be used to get the range: get index, parse, get the index. If you want line and column numbers see LocationMap which can convert offsets into rows and columns.
As title. ANTLR allows to read the source interval (start offset, end offset, start row, end row, start col, end col) of any node. Trifecta has
DeltaParsing
. I did not find such an API here and I think this is a crucial feature for any further error reporting after parsing.The text was updated successfully, but these errors were encountered: