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

fhirpath parsing now includes comments and whitespace into the Expression object model. #2779

Merged
merged 9 commits into from May 21, 2024

Conversation

brianpos
Copy link
Collaborator

@brianpos brianpos commented May 3, 2024

Description

This extends on the work in the fhirpath parsing changes to be able to capture the whitespace including comments to permit exact round trips with the Expression tree.

Related issues

#2517

Testing

There are many unit tests for this, and also tested with my fhirpath validator project locally to verify that it sucessfully roundtripped all the expressions in the R4B/R5 invariants, searchparameters and about 10 large implementation guides.

FirelyTeam Checklist

  • Update the title of the PR to be succinct and less than 50 characters
  • Mark the PR with the label breaking change when this PR introduces breaking changes

@brianpos brianpos closed this May 3, 2024
@brianpos
Copy link
Collaborator Author

brianpos commented May 3, 2024

I expect this will be just reviewed in the diffs, then pushed direct into the other branch before (or after) going to develop.

@brianpos brianpos reopened this May 10, 2024
@brianpos brianpos changed the base branch from feature/fhirpath-parsing to develop May 10, 2024 11:21
@brianpos brianpos marked this pull request as draft May 10, 2024 11:21
@brianpos brianpos marked this pull request as ready for review May 14, 2024 10:31
ewoutkramer
ewoutkramer previously approved these changes May 14, 2024
src/Hl7.Fhir.Base/FhirPath/Parser/Grammar.cs Show resolved Hide resolved
src/Hl7.Fhir.Base/FhirPath/Parser/Lexer.cs Outdated Show resolved Hide resolved
@ewoutkramer ewoutkramer merged commit d4551e0 into develop May 21, 2024
16 checks passed
@ewoutkramer ewoutkramer deleted the feature/fhirpath-parsing-comments branch May 21, 2024 16:34
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.

None yet

3 participants