roc/crates/compiler/test_syntax/tests/snapshots/pass/one_backpassing.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

42 lines
938 B
Text

SpaceBefore(
SpaceAfter(
Backpassing(
[
@18-19 Identifier {
ident: "x",
},
],
@23-32 ParensAround(
Closure(
[
@25-26 Identifier {
ident: "y",
},
],
@30-31 Var {
module_name: "",
ident: "y",
},
),
),
@34-35 SpaceBefore(
Var {
module_name: "",
ident: "x",
},
[
Newline,
Newline,
],
),
),
[
Newline,
],
),
[
LineComment(
" leading comment",
),
],
)