roc/crates/compiler/test_syntax/tests/snapshots/pass/basic_docs.expr.result-ast
2024-04-14 13:45:00 +10:00

60 lines
1.2 KiB
Text

SpaceBefore(
Defs(
Defs {
tags: [
Index(2147483648),
],
regions: [
@107-112,
],
space_before: [
Slice(start = 0, length = 0),
],
space_after: [
Slice(start = 0, length = 0),
],
spaces: [],
type_defs: [],
value_defs: [
Body(
@107-108 Identifier {
ident: "x",
suffixed: 0,
},
@111-112 Num(
"5",
),
),
],
},
@114-116 SpaceBefore(
Num(
"42",
),
[
Newline,
Newline,
],
),
),
[
DocComment(
"first line of docs",
),
DocComment(
" second line",
),
DocComment(
" third line",
),
DocComment(
"fourth line",
),
DocComment(
"",
),
DocComment(
"sixth line after doc new line",
),
],
)