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

refactor: accumulate tokens into a different data structure #220

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

Conversation

michaelboyles
Copy link
Contributor

🤔 What's changed?

Accumulate tokens into a different data structure.

This ensures that the data is ordered with positive relative line numbers, regardless of how the walker visits lines.

⚡️ What's your motivation?

This is something needed to add comment highlighting support, since comments are walked after tables

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

♻️ Anything particular you want feedback on?

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This ensures that the data is ordered with positive relative line numbers, regardless of how the walker visits lines. This is something needed to add comment highlighting support
@kieran-ryan kieran-ryan added the 🏦 debt Tech debt label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏦 debt Tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants