use crate::ns::*; use serde::{Serialize, Deserialize}; use std::rc::Rc; #[derive(Clone, Serialize, Deserialize)] pub struct ClassDefinition { pub location: Location, pub jetdoc: Option>, pub attributes: Vec, pub name: (String, Location), pub type_parameters: Option>>, pub extends_clause: Option>, pub implements_clause: Option>>, pub block: Rc, }