Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve parsing Issues reporting #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mochitto
Copy link
Contributor

Resolve #59
Inspired by Strumenta/kolasu#292.

  • Issue's messages are now capitalized to improve readability.
  • Position's isEmpty method has been safely renamed to isFlat to match the convention used in kolasu. This ensures consistency across the StarLasu collection. The isEmpty method has now been deprecated and is to be removed in the future.
  • Parsing Issues report the correct Position by taking into consideration the length of the token, to improve UX.

The above message has been included in the commit's description.
Test coverage has been extended to the new features.
The changelog has been updated to reflect the changes, with the version Unreleased to facilitate library moderation.

Resolve Strumenta#59
Inspired by [Strumenta/kolasu#292](Strumenta/kolasu#292).

- `Issue`'s messages are now capitalized to improve readability.
- `Position`'s `isEmpty` method has been safely renamed to `isFlat` to
  match the [convention used in kolasu](https://github.com/Strumenta/kolasu/blob/0676131e403718d2d99c792dc0a81a87bd48a34f/ast/src/commonMain/kotlin/com/strumenta/kolasu/model/Point.kt#L136).
  This ensures consistency across the StarLasu collection.
  The `isEmpty` method has now been deprecated and is to be removed in
  the future.
- Parsing `Issue`s report the correct `Position` by taking into
  consideration the length of the token, to improve UX.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve parse issue reporting
1 participant