forked from extern/nushell
21 lines
304 B
Rust
21 lines
304 B
Rust
|
use crate::Expression;
|
||
|
|
||
|
#[derive(Debug, Clone)]
|
||
|
pub struct Pipeline {
|
||
|
pub expressions: Vec<Expression>,
|
||
|
}
|
||
|
|
||
|
impl Default for Pipeline {
|
||
|
fn default() -> Self {
|
||
|
Self::new()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
impl Pipeline {
|
||
|
pub fn new() -> Self {
|
||
|
Self {
|
||
|
expressions: vec![],
|
||
|
}
|
||
|
}
|
||
|
}
|