mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-13 23:36:29 +00:00

... and refactor header parser to fully use combinators, in support of future combinator-based superpowers
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
Module {
|
|
comments: [],
|
|
header: Hosted(
|
|
HostedHeader {
|
|
before_name: [],
|
|
name: @7-10 ModuleName(
|
|
"Foo",
|
|
),
|
|
exposes: KeywordItem {
|
|
keyword: Spaces {
|
|
before: [],
|
|
item: ExposesKeyword,
|
|
after: [],
|
|
},
|
|
item: [],
|
|
},
|
|
imports: KeywordItem {
|
|
keyword: Spaces {
|
|
before: [],
|
|
item: ImportsKeyword,
|
|
after: [],
|
|
},
|
|
item: [],
|
|
},
|
|
generates: KeywordItem {
|
|
keyword: Spaces {
|
|
before: [],
|
|
item: GeneratesKeyword,
|
|
after: [],
|
|
},
|
|
item: UppercaseIdent(
|
|
"Bar",
|
|
),
|
|
},
|
|
generates_with: KeywordItem {
|
|
keyword: Spaces {
|
|
before: [],
|
|
item: WithKeyword,
|
|
after: [],
|
|
},
|
|
item: [],
|
|
},
|
|
},
|
|
),
|
|
}
|