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

Add basic parser #34

Merged
merged 3 commits into from
Mar 31, 2023
Merged

Add basic parser #34

merged 3 commits into from
Mar 31, 2023

Conversation

dirkgroot
Copy link
Owner

@dirkgroot dirkgroot commented Mar 30, 2023

Add a very simple parser, which should provide just enough of a basis to add basic editor functionality like code formatting and auto indentation.

This makes it more straightforward to generate blocks for auto
formatting.
@codecov
Copy link

codecov bot commented Mar 31, 2023

Codecov Report

Merging #34 (c01d377) into main (05ac0fc) will increase coverage by 22.44%.
The diff coverage is 64.02%.

@@             Coverage Diff             @@
##             main      #34       +/-   ##
===========================================
+ Coverage   36.20%   58.64%   +22.44%     
===========================================
  Files          15       29       +14     
  Lines         232      636      +404     
  Branches        3      199      +196     
===========================================
+ Hits           84      373      +289     
- Misses        148      194       +46     
- Partials        0       69       +69     
Impacted Files Coverage Δ
...en/nl/dirkgroot/structurizr/dsl/psi/SDVisitor.java 0.00% <0.00%> (ø)
...groot/structurizr/dsl/psi/impl/SDArgumentImpl.java 25.00% <0.00%> (ø)
...structurizr/dsl/psi/impl/SDBlockStatementImpl.java 7.14% <7.14%> (ø)
...turizr/dsl/psi/impl/SDSingleLineStatementImpl.java 14.28% <14.28%> (ø)
...urizr/dsl/psi/impl/SDExplicitRelationshipImpl.java 16.66% <16.66%> (ø)
...urizr/dsl/psi/impl/SDImplicitRelationshipImpl.java 16.66% <16.66%> (ø)
...t/structurizr/dsl/psi/impl/SDKeyValuePairImpl.java 16.66% <16.66%> (ø)
...izr/dsl/psi/impl/SDPropertyBlockStatementImpl.java 16.66% <16.66%> (ø)
...ot/structurizr/dsl/psi/impl/SDScriptBlockImpl.java 16.66% <16.66%> (ø)
...urizr/dsl/psi/impl/SDIdentifierReferencesImpl.java 20.00% <20.00%> (ø)
... and 8 more

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

This is needed, so the `animation` block is correctly parsed.
@dirkgroot dirkgroot marked this pull request as ready for review March 31, 2023 08:44
@dirkgroot dirkgroot merged commit 469093c into main Mar 31, 2023
@dirkgroot dirkgroot deleted the add-parser branch March 31, 2023 08:46
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.

1 participant