mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Indented seq parsing for imports
This commit is contained in:
parent
2163b28390
commit
5c387857ff
5 changed files with 77 additions and 2 deletions
|
@ -0,0 +1,3 @@
|
|||
\L ->
|
||||
import U
|
||||
{} e
|
|
@ -0,0 +1,68 @@
|
|||
SpaceAfter(
|
||||
Closure(
|
||||
[
|
||||
@1-2 Tag(
|
||||
"L",
|
||||
),
|
||||
],
|
||||
@6-19 SpaceBefore(
|
||||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
EitherIndex(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@6-14,
|
||||
],
|
||||
space_before: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
],
|
||||
space_after: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
],
|
||||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
ModuleImport(
|
||||
ModuleImport {
|
||||
before_name: [],
|
||||
name: @13-14 ImportedModuleName {
|
||||
package: None,
|
||||
name: ModuleName(
|
||||
"U",
|
||||
),
|
||||
},
|
||||
params: None,
|
||||
alias: None,
|
||||
exposed: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
},
|
||||
@16-19 SpaceBefore(
|
||||
Apply(
|
||||
@16-18 Record(
|
||||
[],
|
||||
),
|
||||
[
|
||||
@18-19 Var {
|
||||
module_name: "",
|
||||
ident: "e",
|
||||
},
|
||||
],
|
||||
Space,
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
|
@ -0,0 +1,3 @@
|
|||
\L->
|
||||
import U
|
||||
{}e
|
Loading…
Add table
Add a link
Reference in a new issue