use crate::parser::{CallNode, Span, Spanned}; use derive_new::new; use getset::Getters; #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, new)] pub struct Pipeline { crate parts: Vec, crate post_ws: Option, } #[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Getters, new)] pub struct PipelineElement { pub pre_ws: Option, #[get = "crate"] call: Spanned, pub post_ws: Option, pub post_pipe: Option, }