Skip to content

syntax role modifiers - #1835

Draft
jurgenvinju wants to merge 102 commits into
mainfrom
syntax-role-modifiers
Draft

syntax role modifiers#1835
jurgenvinju wants to merge 102 commits into
mainfrom
syntax-role-modifiers

Conversation

@jurgenvinju

@jurgenvinju jurgenvinju commented Jul 7, 2023

Copy link
Copy Markdown
Member

This PR implements syntax role modifiers.

SyntaxModifiers.pdf

@codecov

codecov Bot commented Jul 7, 2023

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 9.27673% with 577 lines in your changes missing coverage. Please review.
✅ Project coverage is 45%. Comparing base (4f96714) to head (fc82a86).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/org/rascalmpl/types/ModifySyntaxRole.java 0% 309 Missing ⚠️
src/org/rascalmpl/ast/SyntaxRoleModifier.java 0% 114 Missing ⚠️
...ascalmpl/semantics/dynamic/SyntaxRoleModifier.java 0% 27 Missing ⚠️
src/org/rascalmpl/ast/Type.java 21% 25 Missing ⚠️
src/org/rascalmpl/library/Type.java 33% 24 Missing ⚠️
src/org/rascalmpl/types/RascalTypeFactory.java 4% 21 Missing and 1 partial ⚠️
...org/rascalmpl/values/parsetrees/SymbolFactory.java 5% 16 Missing ⚠️
src/org/rascalmpl/ast/NullASTVisitor.java 0% 6 Missing ⚠️
...almpl/interpreter/staticErrors/UnexpectedType.java 25% 4 Missing and 2 partials ⚠️
src/org/rascalmpl/types/RascalType.java 0% 6 Missing ⚠️
... and 9 more
Additional details and impacted files
@@           Coverage Diff            @@
##              main   #1835    +/-   ##
========================================
- Coverage       45%     45%    -1%     
- Complexity    6801    6819    +18     
========================================
  Files          844     848     +4     
  Lines        68785   69424   +639     
  Branches     10023   10136   +113     
========================================
+ Hits         31344   31469   +125     
- Misses       35066   35575   +509     
- Partials      2375    2380     +5     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

@DavyLandman
DavyLandman force-pushed the syntax-role-modifiers branch 2 times, most recently from 4b3b7e6 to 55b2a34 Compare June 26, 2026 12:02
@sonarqubecloud

Copy link
Copy Markdown

Comment thread src/org/rascalmpl/interpreter/staticErrors/JavaMethodNotFound.java
| modifier: SyntaxRoleModifier modifier
;

syntax SyntaxRoleModifier // TODO @rodin zegt dat dit Type moet zijn en niet TypeArg

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Opletten hier

Comment thread src/org/rascalmpl/library/Type.java
}
}

private static void $usage(String module, String error, Type kwargs) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Is this relevant?

Comment thread src/org/rascalmpl/test/infrastructure/RascalJUnitParallelRecursiveTestRunner.java Outdated
Comment thread src/org/rascalmpl/types/NonTerminalType.java
Comment thread RELEASE-NOTES.md Outdated

@jurgenvinju jurgenvinju left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This PR is almost done. Needs some cleaning of unrelated changes and attention to new TODO comments.

@jurgenvinju jurgenvinju self-assigned this Aug 31, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants