Skip to content

Optional parsing with test#304

Merged
MaillPierre merged 1 commit into
feature/corese-nextfrom
feature/next-sparql/optional
Mar 11, 2026
Merged

Optional parsing with test#304
MaillPierre merged 1 commit into
feature/corese-nextfrom
feature/next-sparql/optional

Conversation

@prbblrypier
Copy link
Copy Markdown
Contributor

We add the sparql optional parser. It should also parse nested Optional.

we add
private final Deque optionalGroupDepths = new ArrayDeque<>(); to help us know when we can wrap a group in a OptionalAst.

@prbblrypier prbblrypier self-assigned this Mar 9, 2026
@prbblrypier prbblrypier added the Refactoring Issue created during the 2025 refactoring effort label Mar 9, 2026
@prbblrypier prbblrypier linked an issue Mar 9, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 9, 2026

Overall Project 47.43% 🍏
Files changed 100% 🍏

File Coverage
SparqlListener.java 100% 🍏
OptionalAst.java 100% 🍏
SparqlAstBuilder.java 80.7% 🍏
BgpFeature.java 77.32% 🍏

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 9, 2026

Test Results

  344 files  +1    344 suites  +1   40s ⏱️ -3s
1 900 tests +3  1 900 ✅ +3  0 💤 ±0  0 ❌ ±0 
1 901 runs  +3  1 901 ✅ +3  0 💤 ±0  0 ❌ ±0 

Results for commit c65e83a. ± Comparison against base commit fee0d27.

@MaillPierre MaillPierre self-requested a review March 9, 2026 16:01
@MaillPierre MaillPierre merged commit a566553 into feature/corese-next Mar 11, 2026
2 checks passed
@MaillPierre MaillPierre deleted the feature/next-sparql/optional branch March 11, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactoring Issue created during the 2025 refactoring effort

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SPARQL 1.0] Parser and AST : Optional

2 participants