feat(natu): lint direct listToAttrs maps

This commit was merged in pull request #109.
This commit is contained in:
2026-09-27 18:05:16 -04:00
parent b6469567e1
commit 0e5731145e
8 changed files with 166 additions and 7 deletions

View File

@@ -48,6 +48,7 @@ pub struct Ident {
pub enum Expr {
Ident(Ident),
Select(Select),
Apply(Apply),
Let {
range: SourceRange,
bindings: Vec<Binding>,
@@ -67,6 +68,12 @@ pub struct Select {
pub attr: Ident,
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Apply {
pub lambda: Box<Expr>,
pub argument: Box<Expr>,
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Token {
pub range: SourceRange,