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

feature: 🍺 Support for BlockStmt statement #181

Merged
merged 5 commits into from
Nov 9, 2024

Conversation

shivasurya
Copy link
Owner

Description:

This pull request introduces support for parsing and handling block statements in the code graph. The most important changes include adding a new BlockStmt type, updating the graph construction to recognize block statements, and enhancing the query environment to support this new type.

Addition of Block Statement Support:

Parsing and Handling Block Statements:

Query Environment Enhancements:

Block Statement Model:

Checklist:

  • Tests passing (gradle testGo)?
  • Lint passing (golangci-lint run this requires golangci-lint)?

@shivasurya shivasurya added the enhancement New feature or request label Nov 7, 2024
@shivasurya shivasurya self-assigned this Nov 7, 2024
@shivasurya shivasurya changed the title feature: 🍺 Support for BlockStmt statement feature: 🍺 Support for BlockStmt statement Nov 7, 2024
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 83.67347% with 8 lines in your changes missing coverage. Please review.

Project coverage is 72.95%. Comparing base (6d7aed0) to head (0b8bbdf).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sourcecode-parser/graph/query.go 55.55% 4 Missing ⚠️
sourcecode-parser/model/stmt.go 76.47% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
+ Coverage   72.73%   72.95%   +0.21%     
==========================================
  Files          16       16              
  Lines        2399     2448      +49     
==========================================
+ Hits         1745     1786      +41     
- Misses        614      622       +8     
  Partials       40       40              

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

@shivasurya shivasurya merged commit fa305a8 into main Nov 9, 2024
4 checks passed
@shivasurya shivasurya deleted the shiva/block-stmt-support branch November 9, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant