mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
add final_comments to List's AST
This commit is contained in:
parent
04d0711251
commit
83aa5c1642
4 changed files with 29 additions and 11 deletions
|
@ -93,7 +93,10 @@ pub enum Expr<'a> {
|
|||
AccessorFunction(&'a str),
|
||||
|
||||
// Collection Literals
|
||||
List(&'a [&'a Loc<Expr<'a>>]),
|
||||
List {
|
||||
items: &'a [&'a Loc<Expr<'a>>],
|
||||
final_comments: &'a [CommentOrNewline<'a>],
|
||||
},
|
||||
|
||||
Record {
|
||||
update: Option<&'a Loc<Expr<'a>>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue