Implemented heredocs and herestrings

This commit is contained in:
2025-03-09 00:34:49 -05:00
parent 4f58c1c3fd
commit 1808786313
14 changed files with 233 additions and 89 deletions

View File

@@ -43,6 +43,9 @@ impl ExecCtx {
pub fn redirs(&self) -> &Vec<Redir> {
&self.redirs
}
pub fn clear_redirs(&mut self) {
self.redirs.clear()
}
pub fn sort_redirs(&self) -> (Vec<Redir>,Vec<Redir>) {
let mut cond_redirs = vec![];
let mut body_redirs = vec![];