roc/crates/compiler/test_syntax/tests/snapshots/pass/plus_if.expr.result-ast
Joshua Warner 4f32f43048
Implement block / indent based parsing
... and enforce that defs can only occur in blocks (or, inside parenthesized expressions)
2024-07-27 13:34:16 -07:00

31 lines
588 B
Text

SpaceAfter(
BinOps(
[
(
@0-1 Num(
"1",
),
@2-3 Star,
),
],
@4-30 If(
[
(
@7-16 Var {
module_name: "Bool",
ident: "true",
},
@22-23 Num(
"1",
),
),
],
@29-30 Num(
"1",
),
),
),
[
Newline,
],
)