roc/compiler/parse/tests/snapshots/pass/not_docs.expr.result-ast
Ayaz Hafiz a3ac68a41f
Split up Defs into TypeDef and ValueDef
Just a refactoring PR. This is useful because during canonicalization
we always process type defs first, then value defs. With abilities this
distinction continues to grow; in that case, we have patterns associated
with types that we want to process before patterns from values.
2022-04-06 22:18:57 -04:00

39 lines
725 B
Text

SpaceBefore(
Defs(
[
@46-51 Value(
Body(
@46-47 Identifier(
"x",
),
@50-51 Num(
"5",
),
),
),
],
@53-55 SpaceBefore(
Num(
"42",
),
[
Newline,
Newline,
],
),
),
[
LineComment(
"######",
),
LineComment(
"## not docs!",
),
LineComment(
"#still not docs",
),
LineComment(
"#####",
),
],
)