-
Notifications
You must be signed in to change notification settings - Fork 5
feat: adding public method #46
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
Conversation
WalkthroughThe changes add a new method Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant ParseResult
participant VarDeclaration
Caller->>ParseResult: GetNeededVariables()
ParseResult->>VarDeclaration: Iterate over Vars
alt Valid variable (non-nil, nil origin)
ParseResult->>ParseResult: Add (name, type) to map
else
ParseResult->>ParseResult: Skip variable
end
ParseResult->>Caller: Return variables map
sequenceDiagram
participant Test as TestGetVars
participant Parser
participant ParseResult
Test->>Parser: Parse(raw vars script)
Parser->>ParseResult: Create parseResult object
Test->>ParseResult: Call GetParsingErrors()
Test->>ParseResult: Call GetNeededVariables()
Test->>Test: Validate output against expected map
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #46 +/- ##
==========================================
+ Coverage 63.48% 63.60% +0.12%
==========================================
Files 31 31
Lines 7101 7100 -1
==========================================
+ Hits 4508 4516 +8
+ Misses 2384 2375 -9
Partials 209 209 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.