File tree 2 files changed +8
-8
lines changed 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -149,12 +149,12 @@ impl fmt::Display for Predicate {
149
149
#[ derive( Clone ) ]
150
150
pub struct FormalParameter {
151
151
pub name : String ,
152
- pub r#type : Type ,
152
+ pub param_type : Type ,
153
153
}
154
154
155
155
impl fmt:: Display for FormalParameter {
156
156
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
157
- write ! ( f, "{} {}" , self . r#type , self . name)
157
+ write ! ( f, "{} {}" , self . param_type , self . name)
158
158
}
159
159
}
160
160
Original file line number Diff line number Diff line change @@ -149,23 +149,23 @@ fn create_location_class() -> ql::Class {
149
149
formal_parameters : vec ! [
150
150
ql:: FormalParameter {
151
151
name: "filePath" . to_owned( ) ,
152
- r#type : ql:: Type :: String ,
152
+ param_type : ql:: Type :: String ,
153
153
} ,
154
154
ql:: FormalParameter {
155
155
name: "startLine" . to_owned( ) ,
156
- r#type : ql:: Type :: Int ,
156
+ param_type : ql:: Type :: Int ,
157
157
} ,
158
158
ql:: FormalParameter {
159
159
name: "startColumn" . to_owned( ) ,
160
- r#type : ql:: Type :: Int ,
160
+ param_type : ql:: Type :: Int ,
161
161
} ,
162
162
ql:: FormalParameter {
163
163
name: "endLine" . to_owned( ) ,
164
- r#type : ql:: Type :: Int ,
164
+ param_type : ql:: Type :: Int ,
165
165
} ,
166
166
ql:: FormalParameter {
167
167
name: "endColumn" . to_owned( ) ,
168
- r#type : ql:: Type :: Int ,
168
+ param_type : ql:: Type :: Int ,
169
169
} ,
170
170
] ,
171
171
body : ql:: Expression :: Pred (
@@ -412,7 +412,7 @@ fn create_field_getters(
412
412
return_type : Some ( ql:: Type :: Normal ( dbscheme_name_to_class_name ( field_type) ) ) ,
413
413
formal_parameters : vec ! [ ql:: FormalParameter {
414
414
name: "i" . to_owned( ) ,
415
- r#type : ql:: Type :: Int ,
415
+ param_type : ql:: Type :: Int ,
416
416
} ] ,
417
417
body : create_get_field_expr_for_table_storage ( & field_table_name, "i" ) ,
418
418
} ,
You can’t perform that action at this time.
0 commit comments