Override(path) syntax
This commit is contained in:
@@ -91,10 +91,13 @@ pub struct ClassConstructor {
|
||||
pub body: Block,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
pub struct Override(pub Option<ExprPath>);
|
||||
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
pub struct FunctionDecl {
|
||||
pub visibility: Visibility,
|
||||
pub is_override: bool,
|
||||
pub is_override: Option<Override>,
|
||||
pub name: Identifier,
|
||||
pub generics: GenericsDecl,
|
||||
pub params: ParamList,
|
||||
|
||||
Reference in New Issue
Block a user