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

50 lines
1.2 KiB
Text

SpaceAfter(
Defs(
Defs {
tags: [
Index(2147483648),
],
regions: [
@0-13,
],
space_before: [
Slice(start = 0, length = 0),
],
space_after: [
Slice(start = 0, length = 0),
],
spaces: [],
type_defs: [],
value_defs: [
Expect {
condition: @7-13 BinOps(
[
(
@7-8 Num(
"1",
),
@9-11 Equals,
),
],
@12-13 Num(
"1",
),
),
preceding_comment: …,
},
],
},
@15-16 SpaceBefore(
Num(
"4",
),
[
Newline,
Newline,
],
),
),
[
Newline,
],
)