This commit is contained in:
Masashi 2025-12-16 14:37:51 +05:30
commit 0dd7161829
2 changed files with 8044 additions and 2 deletions

8036
output.md Normal file

File diff suppressed because it is too large Load diff

View file

@ -70,7 +70,13 @@ pub enum ASTNodeKind {
Enum(Enum),
Impl(Impl),
Trait(Trait),
Use(String),
Use(Use),
}
#[derive(Debug, Clone)]
pub struct Use {
pub path: String,
pub span: Span,
}
// ? implies OPTIONAL here
@ -305,7 +311,7 @@ pub enum TypedASTNodeKind {
Enum(TypedEnum),
Impl(TypedImpl),
Trait(TypedTrait),
Use(String),
Use(Use),
}
#[derive(Debug, Clone)]