AST - Comments for ClassDecl members
This commit is contained in:
parent
39276f4756
commit
373668fc23
1 changed files with 2 additions and 0 deletions
|
@ -26,7 +26,9 @@ pub enum ClassMemberDecl {
|
||||||
/// A class declaration.
|
/// A class declaration.
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct ClassDecl {
|
pub struct ClassDecl {
|
||||||
|
/// The token that represents the name of the class.
|
||||||
pub name: Token,
|
pub name: Token,
|
||||||
|
/// The list of class members.
|
||||||
pub members: Vec<ClassMemberDecl>,
|
pub members: Vec<ClassMemberDecl>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue