roc/compiler/parse/tests/snapshots/pass/mixed_docs.expr.result-ast

37 lines
752 B
Text

SpaceBefore(
Defs(
[
|L 4-4, C 0-5| Body(
|L 4-4, C 0-1| Identifier(
"x",
),
|L 4-4, C 4-5| Num(
"5",
),
),
],
|L 6-6, C 0-2| SpaceBefore(
Num(
"42",
),
[
Newline,
Newline,
],
),
),
[
LineComment(
"## not docs!",
),
DocComment(
"docs, but with a problem",
),
DocComment(
"(namely that this is a mix of docs and regular comments)",
),
LineComment(
" not docs",
),
],
)