2022-07-14 22:26:57 +00:00
|
|
|
---
|
|
|
|
source: crates/oyster_parser/tests/it/cst.rs
|
|
|
|
expression: actual
|
|
|
|
---
|
|
|
|
Tree {
|
|
|
|
kind: Program,
|
|
|
|
children: [
|
|
|
|
Tree {
|
|
|
|
kind: Pipeline,
|
|
|
|
children: [
|
|
|
|
Tree {
|
|
|
|
kind: Command,
|
|
|
|
children: [
|
|
|
|
Tree {
|
|
|
|
kind: Word,
|
|
|
|
children: [
|
|
|
|
Leaf {
|
2022-09-24 17:17:56 +00:00
|
|
|
kind: PlainText,
|
2022-07-14 22:26:57 +00:00
|
|
|
len: 6,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Leaf {
|
|
|
|
kind: Whitespace,
|
|
|
|
len: 1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Leaf {
|
|
|
|
kind: Pipe,
|
|
|
|
len: 1,
|
|
|
|
},
|
|
|
|
Leaf {
|
|
|
|
kind: Whitespace,
|
|
|
|
len: 1,
|
|
|
|
},
|
|
|
|
Tree {
|
|
|
|
kind: Command,
|
|
|
|
children: [
|
|
|
|
Tree {
|
|
|
|
kind: Word,
|
|
|
|
children: [
|
|
|
|
Leaf {
|
2022-09-24 17:17:56 +00:00
|
|
|
kind: PlainText,
|
2022-07-14 22:26:57 +00:00
|
|
|
len: 3,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|