I did a pass through all files, fixing bits that have annoyed me here and there based on vibes. Roughly: - Replaced some out values like bools or strings with lists where appropriate. Those tests were likely older than the value printer - Added some parser tests where it makes sense - Gently touched some formatting woes, while trying to not cause too much diff noise - Removed some dead `with (import ./lib.nix);` code Change-Id: I8c40b2110f0b7799f68ae38ba61f049c5f1f6ee8
35 lines
565 B
Plaintext
35 lines
565 B
Plaintext
_type: ExprIf
|
|
cond:
|
|
_type: ExprOpNEq
|
|
e1:
|
|
_type: ExprLiteral
|
|
value: foo
|
|
valueType: String
|
|
e2:
|
|
_type: ExprConcatStrings
|
|
es:
|
|
- _type: ExprLiteral
|
|
value: f
|
|
valueType: String
|
|
- _type: ExprLiteral
|
|
value: oo
|
|
valueType: String
|
|
isInterpolation: false
|
|
else:
|
|
_type: ExprIf
|
|
cond:
|
|
_type: ExprVar
|
|
value: 'false'
|
|
else:
|
|
_type: ExprLiteral
|
|
value: 3
|
|
valueType: Int
|
|
then:
|
|
_type: ExprLiteral
|
|
value: 2
|
|
valueType: Int
|
|
then:
|
|
_type: ExprLiteral
|
|
value: 1
|
|
valueType: Int
|