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

Expr2 rule node #98

Merged
merged 6 commits into from
Nov 27, 2024
Merged

Expr2 rule node #98

merged 6 commits into from
Nov 27, 2024

Conversation

LoLo5689
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 80.41237% with 19 lines in your changes missing coverage. Please review.

Project coverage is 52.60%. Comparing base (f1ba20b) to head (b133e0b).
Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
src/rulenode_operators.jl 80.41% 19 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   45.83%   52.60%   +6.76%     
==========================================
  Files           7        7              
  Lines         456      557     +101     
==========================================
+ Hits          209      293      +84     
- Misses        247      264      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ReubenJ ReubenJ self-requested a review November 26, 2024 09:30
Copy link
Member

@ReubenJ ReubenJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just one change for the docstring. If possible, it would be great to have full line coverage with the tests.

Comment on lines 214 to 218
"""
expr2ulenode(expr::Expr, grammar::AbstractGrammar)

Converts an expression into a [`AbstractRuleNode`](@ref) corresponding to the rule definitions in the grammar.
"""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be directly before the definition of expr2rulenode(...). The signature in the docstring is missing an 'r', btw.

@ReubenJ ReubenJ self-requested a review November 27, 2024 09:48
@ReubenJ ReubenJ merged commit 2224ae3 into master Nov 27, 2024
5 checks passed
@ReubenJ ReubenJ deleted the expr2RuleNode branch November 27, 2024 09:48
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.

2 participants