style(xatu): order AST support declarations
This commit is contained in:
@@ -33,6 +33,12 @@ pub struct Inherit {
|
|||||||
pub attr_count: usize,
|
pub attr_count: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
|
pub struct Node {
|
||||||
|
pub range: SourceRange,
|
||||||
|
pub data: NodeData,
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
pub struct SourceRange {
|
pub struct SourceRange {
|
||||||
pub start: usize,
|
pub start: usize,
|
||||||
@@ -45,12 +51,6 @@ impl std::fmt::Display for SourceRange {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
||||||
pub struct Node {
|
|
||||||
pub range: SourceRange,
|
|
||||||
pub data: NodeData,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub struct ParseError {
|
pub struct ParseError {
|
||||||
pub range: SourceRange,
|
pub range: SourceRange,
|
||||||
|
|||||||
Reference in New Issue
Block a user