roc/compiler/parse/tests/snapshots/pass/standalone_module_defs.module.result-ast

59 lines
1.2 KiB
Text

[
|L 1-1, C 0-7| SpaceBefore(
Body(
|L 1-1, C 0-3| Identifier(
"foo",
),
|L 1-1, C 6-7| Num(
"1",
),
),
[
LineComment(
" comment 1",
),
],
),
|L 4-4, C 0-10| SpaceBefore(
Body(
|L 4-4, C 0-3| Identifier(
"bar",
),
|L 4-4, C 6-10| Str(
PlainLine(
"hi",
),
),
),
[
Newline,
Newline,
LineComment(
" comment 2",
),
],
),
|L 5-5, C 0-13| SpaceAfter(
SpaceBefore(
Body(
|L 5-5, C 0-3| Identifier(
"baz",
),
|L 5-5, C 6-13| Str(
PlainLine(
"stuff",
),
),
),
[
Newline,
],
),
[
Newline,
LineComment(
" comment n",
),
],
),
]