Skip to content

Conversation

@TheGupta2012
Copy link
Member

Summary of changes

Refactoring for efficiency and maintainability:

  • Moved the visit_map from the local scope of the visit_statement function to a class-level variable, initializing it once in the constructor for improved efficiency and easier maintenance. [1] [2] [3]
  • Added the _construct_visit_map helper method to encapsulate and organize the construction of the visitor map, making the code cleaner and more modular.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TheGupta2012 TheGupta2012 merged commit 512027c into main Nov 25, 2025
22 checks passed
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.

3 participants