-
Notifications
You must be signed in to change notification settings - Fork 140
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 the AST visitor further #1919
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1919 +/- ##
==========================================
+ Coverage 77.62% 77.72% +0.09%
==========================================
Files 303 303
Lines 62081 62009 -72
==========================================
+ Hits 48190 48194 +4
+ Misses 12171 12096 -75
+ Partials 1720 1719 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 599dda3 Collapsed results for better readability
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
Description
Remove the combined
Visitor
and introduce separateAccept*
functions for declarations, statements, and expressions. This allows implementations, like the checker and interpreter, to specify different return values. For example, the interpreter returnsValue
s for expressions, butStatementResult
for statements.master
branchFiles changed
in the Github PR explorer