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

Remove walkers #126

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Remove walkers #126

wants to merge 2 commits into from

Conversation

Pennycook
Copy link
Contributor

Related issues

Closes #101. Must be merged after #125.

Proposed changes

  • Remove the legacy walkers/ subpackage. 🥳

Using the visitor pattern allows TreeAssociator to be replaced by an
associate() function inside of ParserState.

Signed-off-by: John Pennycook <[email protected]>
Following the refactor of the old walkers into functions using the new walk()
and visit() functionality, there is no longer a need to maintain the walkers/
subpackage.

Signed-off-by: John Pennycook <[email protected]>
@Pennycook Pennycook added the refactor Improvements to code structure label Nov 5, 2024
@Pennycook Pennycook added this to the 2.0.0 milestone Nov 5, 2024
@Pennycook Pennycook closed this Nov 5, 2024
@Pennycook Pennycook reopened this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improvements to code structure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor walkers from visit pattern into iterator pattern
1 participant