AST - Comments for ClassDecl members

This commit is contained in:
Emmanuel BENOîT 2023-01-14 10:50:30 +01:00
parent 39276f4756
commit 373668fc23

View file

@ -26,7 +26,9 @@ pub enum ClassMemberDecl {
/// A class declaration.
#[derive(Debug, Clone)]
pub struct ClassDecl {
/// The token that represents the name of the class.
pub name: Token,
/// The list of class members.
pub members: Vec<ClassMemberDecl>,
}