Added other struct types #117
This commit is contained in:
@@ -59,6 +59,12 @@ pub enum TopLevelKind {
|
||||
generics: GenericsDecl,
|
||||
fields: Vec<Spanned<FieldDecl>>,
|
||||
},
|
||||
StructDeclTupleUnit {
|
||||
visibility: Visibility,
|
||||
name: Identifier,
|
||||
generics: GenericsDecl,
|
||||
unit: Option<Vec<Spanned<TypeExpr>>>,
|
||||
},
|
||||
FunctionDecl(FunctionDecl),
|
||||
ClassDecl {
|
||||
visibility: Visibility,
|
||||
|
||||
Reference in New Issue
Block a user