roc/crates/compiler/test_syntax/tests/snapshots/pass/parse_alias.expr.result-ast
2024-04-28 08:47:08 +10:00

54 lines
1.2 KiB
Text

Defs(
Defs {
tags: [
Index(0),
],
regions: [
@0-26,
],
space_before: [
Slice(start = 0, length = 0),
],
space_after: [
Slice(start = 0, length = 0),
],
spaces: [],
type_defs: [
Alias {
header: TypeHeader {
name: @0-4 "Blah",
vars: [
@5-6 Identifier {
ident: "a",
},
@7-8 Identifier {
ident: "b",
},
],
},
ann: @11-26 Apply(
"Foo.Bar",
"Baz",
[
@23-24 BoundVariable(
"x",
),
@25-26 BoundVariable(
"y",
),
],
),
},
],
value_defs: [],
},
@28-30 SpaceBefore(
Num(
"42",
),
[
Newline,
Newline,
],
),
)