roc/compiler/parse/tests/snapshots/pass/parse_as_ann.expr.result-ast
2021-12-26 11:35:10 -06:00

44 lines
1.1 KiB
Text

Defs(
[
|L 0-0, C 0-33| Annotation(
|L 0-0, C 0-3| Identifier(
"foo",
),
|L 0-0, C 6-33| As(
|L 0-0, C 6-21| Apply(
"Foo.Bar",
"Baz",
[
|L 0-0, C 18-19| BoundVariable(
"x",
),
|L 0-0, C 20-21| BoundVariable(
"y",
),
],
),
[],
AliasHeader {
name: |L 0-0, C 25-29| "Blah",
vars: [
|L 0-0, C 30-31| Identifier(
"a",
),
|L 0-0, C 32-33| Identifier(
"b",
),
],
},
),
),
],
|L 2-2, C 0-2| SpaceBefore(
Num(
"42",
),
[
Newline,
Newline,
],
),
)