pub fn parse_pipeline( code_str: &Spanned<String>, get_span: &impl Fn((usize, usize)) -> Span, ) -> Result<Pipeline, Vec<Diagnostic>>