started work on typed pipelines

This commit is contained in:
Schrottkatze 2023-11-17 21:37:55 +01:00
parent b6b8c5085a
commit 414b6c927d
5 changed files with 109 additions and 12 deletions

View file

@ -13,8 +13,8 @@ mod error;
#[derive(Debug, Clone, PartialEq)]
pub struct PipelineElement {
kind: PipelineElementKind,
span: Span,
pub kind: PipelineElementKind,
pub span: Span,
}
#[derive(Debug, Clone, PartialEq)]
@ -25,8 +25,8 @@ pub enum PipelineElementKind {
#[derive(Debug, Clone, PartialEq)]
pub struct CommandPart {
kind: CommandPartKind,
span: Span,
pub kind: CommandPartKind,
pub span: Span,
}
#[derive(Debug, Clone, PartialEq)]