Skip to content

Statement and StatementParser updates#1579

Merged
kmvanbrunt merged 5 commits intomainfrom
parser_refactor
Feb 19, 2026
Merged

Statement and StatementParser updates#1579
kmvanbrunt merged 5 commits intomainfrom
parser_refactor

Conversation

@kmvanbrunt
Copy link
Member

@kmvanbrunt kmvanbrunt commented Feb 19, 2026

Statement Updates

  • Changed Statement.multiline_command from a string to a bool.
  • Made Statement.arg_list a property which generates the list on-demand.
  • Renamed Statement.output to Statement.redirector.
  • Renamed Statement.output_to to Statement.redirect_to.
  • Removed Statement.pipe_to since it can be handled by Statement.redirector and Statement.redirect_to.

StatementParser Updates

  • Changed StatementParser.parse_command_only() to return a PartialStatement object.

- Made Statement.arg_list a property which generates the list on-demand.
- Renamed Statement.output to Statement.redirector.
- Renamed Statement.output_to to Statement.redirect_to.
- Removed Statement.pipe_to since it's data can be stored in Statement.redirector and Statement.redirect_to.
@github-actions
Copy link
Contributor

🤖 Hi @kmvanbrunt, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.42%. Comparing base (c2d29d4) to head (a5ac43b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1579   +/-   ##
=======================================
  Coverage   99.42%   99.42%           
=======================================
  Files          22       22           
  Lines        4892     4892           
=======================================
  Hits         4864     4864           
  Misses         28       28           
Flag Coverage Δ
unittests 99.42% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@github-actions
Copy link
Contributor

🤖 I'm sorry @kmvanbrunt, but I was unable to process your request. Please see the logs for more details.

tleonhardt
tleonhardt previously approved these changes Feb 19, 2026
@kmvanbrunt kmvanbrunt changed the title Optimized Statement class. Statement and StatementParser updates Feb 19, 2026
@kmvanbrunt kmvanbrunt merged commit 910f2eb into main Feb 19, 2026
29 of 30 checks passed
@kmvanbrunt kmvanbrunt deleted the parser_refactor branch February 19, 2026 21:08
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.

2 participants

Comments