-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The dart-petitparser/lib/src/core/token.dart Line 89 in fc676d0 You can either use that static method, or build your own similar helper. Example usage: final result = parser.parse(input);
if (result.isFailure) {
final lineAndColumn = Token.lineAndColumnOf(input, result.position);
print('Error ${result.message} at ${lineAndColumn.join(':')}');
... |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your fast response and Good Job by the way Lukas :) |
Beta Was this translation helpful? Give feedback.
The
Token
class provides such a helper:dart-petitparser/lib/src/core/token.dart
Line 89 in fc676d0
You can either use that static method, or build your own similar helper.
Example usage: