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

57 lines
1.2 KiB
Text

SpaceBefore(
Defs(
Defs {
tags: [
Index(2147483648),
],
regions: [
@48-53,
],
space_before: [
Slice(start = 0, length = 0),
],
space_after: [
Slice(start = 0, length = 0),
],
spaces: [],
type_defs: [],
value_defs: [
Body(
@46-47 Identifier {
ident: "x",
suffixed: 0,
},
@50-51 Num(
"5",
),
),
],
},
@55-57 SpaceBefore(
Num(
"42",
),
[
Newline,
Newline,
],
),
),
[
LineComment(
"######",
),
LineComment(
"## not docs!",
),
DocComment(
"actually docs",
),
DocComment(
"",
),
LineComment(
"#####",
),
],
)