Skip to content

Commit c9c4cdc

Browse files
Flippchenmfloto
andcommitted
fix: made public
Co-authored-by: mfloto <[email protected]>
1 parent 89b077a commit c9c4cdc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/src/types.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ use std::fmt::Display;
33

44
#[derive(Debug, Clone, Deserialize, Serialize)]
55
pub struct Class {
6-
pub(crate) name: String,
7-
pub(crate) fields: Vec<FieldDecl>,
8-
pub(crate) methods: Vec<MethodDecl>,
6+
pub name: String,
7+
pub fields: Vec<FieldDecl>,
8+
pub methods: Vec<MethodDecl>,
99
}
1010

1111
#[derive(Debug, Clone, Deserialize, Serialize)]
1212
pub struct FieldDecl {
13-
pub(crate) field_type: Type,
14-
pub(crate) name: String,
13+
pub field_type: Type,
14+
pub name: String,
1515
}
1616

1717
#[derive(Debug, Clone, Deserialize, Serialize)]
1818
pub struct MethodDecl {
19-
pub(crate) retType: Type,
20-
pub(crate) name: String,
21-
pub(crate) params: Vec<(Type, String)>,
22-
pub(crate) body: Stmt,
19+
pub retType: Type,
20+
pub name: String,
21+
pub params: Vec<(Type, String)>,
22+
pub body: Stmt,
2323
}
2424

2525
#[derive(Debug, Clone, Deserialize, Serialize)]

0 commit comments

Comments
 (0)