feat(xatu): add manual inherit from lint

This commit was merged in pull request #87.
This commit is contained in:
2026-09-19 23:30:56 -04:00
parent 4b7d3834ab
commit f9aff6839e
9 changed files with 105 additions and 11 deletions

View File

@@ -34,7 +34,7 @@ pub enum NodeData {
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Binding {
pub key: Ident,
pub value: Ident,
pub value: Expr,
}
#[derive(Debug, Clone, PartialEq, Eq)]
@@ -42,6 +42,18 @@ pub struct Ident {
pub name: String,
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum Expr {
Ident(Ident),
Select(Select),
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Select {
pub receiver: String,
pub attr: Ident,
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Token {
pub range: SourceRange,