style(xatu): order AST declarations

This commit is contained in:
2026-09-19 10:18:24 -04:00
parent f8966fe2a8
commit 731ad83ae9

View File

@@ -1,5 +1,11 @@
use crate::FileId;
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum NodeData {
Apply(Apply),
Inherit(Inherit),
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Apply {
pub function: Expr,
@@ -27,12 +33,6 @@ pub struct Inherit {
pub attr_count: usize,
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum NodeData {
Apply(Apply),
Inherit(Inherit),
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct SourceRange {
pub start: usize,