Pattern AST and grammar

This commit is contained in:
2026-05-07 22:10:26 +02:00
parent c51ff01ce8
commit a6fb70eebf
4 changed files with 35 additions and 5 deletions
+2 -1
View File
@@ -94,8 +94,9 @@ pub enum TopLevelKind {
#[derive(Debug, Clone, Serialize)]
pub enum Pattern {
Tuple(Path, Vec<Identifier>),
NamedTuple(Path, Vec<Identifier>),
Struct(Path, Vec<Identifier>),
Tuple(Vec<Identifier>),
Path(Path),
Id(Identifier),
}