@@ -10,12 +10,12 @@ import codeql.swift.elements.type.Type
10
10
module Generated {
11
11
class VarDecl extends Synth:: TVarDecl , AbstractStorageDecl {
12
12
/**
13
- * Gets the name of this var declaration.
13
+ * Gets the name of this variable declaration.
14
14
*/
15
15
string getName ( ) { result = Synth:: convertVarDeclToRaw ( this ) .( Raw:: VarDecl ) .getName ( ) }
16
16
17
17
/**
18
- * Gets the type of this var declaration.
18
+ * Gets the type of this variable declaration.
19
19
*
20
20
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
21
21
* behavior of both the `Immediate` and non-`Immediate` versions.
@@ -25,12 +25,12 @@ module Generated {
25
25
}
26
26
27
27
/**
28
- * Gets the type of this var declaration.
28
+ * Gets the type of this variable declaration.
29
29
*/
30
30
final Type getType ( ) { result = getImmediateType ( ) .resolve ( ) }
31
31
32
32
/**
33
- * Gets the attached property wrapper type of this var declaration, if it exists.
33
+ * Gets the attached property wrapper type of this variable declaration, if it exists.
34
34
*
35
35
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
36
36
* behavior of both the `Immediate` and non-`Immediate` versions.
@@ -43,7 +43,7 @@ module Generated {
43
43
}
44
44
45
45
/**
46
- * Gets the attached property wrapper type of this var declaration, if it exists.
46
+ * Gets the attached property wrapper type of this variable declaration, if it exists.
47
47
*/
48
48
final Type getAttachedPropertyWrapperType ( ) {
49
49
result = getImmediateAttachedPropertyWrapperType ( ) .resolve ( )
@@ -55,7 +55,7 @@ module Generated {
55
55
final predicate hasAttachedPropertyWrapperType ( ) { exists ( getAttachedPropertyWrapperType ( ) ) }
56
56
57
57
/**
58
- * Gets the parent pattern of this var declaration, if it exists.
58
+ * Gets the parent pattern of this variable declaration, if it exists.
59
59
*
60
60
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
61
61
* behavior of both the `Immediate` and non-`Immediate` versions.
@@ -68,7 +68,7 @@ module Generated {
68
68
}
69
69
70
70
/**
71
- * Gets the parent pattern of this var declaration, if it exists.
71
+ * Gets the parent pattern of this variable declaration, if it exists.
72
72
*/
73
73
final Pattern getParentPattern ( ) { result = getImmediateParentPattern ( ) .resolve ( ) }
74
74
@@ -78,7 +78,7 @@ module Generated {
78
78
final predicate hasParentPattern ( ) { exists ( getParentPattern ( ) ) }
79
79
80
80
/**
81
- * Gets the parent initializer of this var declaration, if it exists.
81
+ * Gets the parent initializer of this variable declaration, if it exists.
82
82
*
83
83
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
84
84
* behavior of both the `Immediate` and non-`Immediate` versions.
@@ -91,7 +91,7 @@ module Generated {
91
91
}
92
92
93
93
/**
94
- * Gets the parent initializer of this var declaration, if it exists.
94
+ * Gets the parent initializer of this variable declaration, if it exists.
95
95
*/
96
96
final Expr getParentInitializer ( ) { result = getImmediateParentInitializer ( ) .resolve ( ) }
97
97
@@ -101,7 +101,7 @@ module Generated {
101
101
final predicate hasParentInitializer ( ) { exists ( getParentInitializer ( ) ) }
102
102
103
103
/**
104
- * Gets the property wrapper backing var binding of this var declaration, if it exists.
104
+ * Gets the property wrapper backing variable binding of this variable declaration, if it exists.
105
105
*
106
106
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
107
107
* behavior of both the `Immediate` and non-`Immediate` versions.
@@ -114,7 +114,7 @@ module Generated {
114
114
}
115
115
116
116
/**
117
- * Gets the property wrapper backing var binding of this var declaration, if it exists.
117
+ * Gets the property wrapper backing variable binding of this variable declaration, if it exists.
118
118
*
119
119
* This is the synthesized binding introducing the property wrapper backing variable for this
120
120
* variable, if any.
@@ -131,7 +131,7 @@ module Generated {
131
131
}
132
132
133
133
/**
134
- * Gets the property wrapper backing var of this var declaration, if it exists.
134
+ * Gets the property wrapper backing variable of this variable declaration, if it exists.
135
135
*
136
136
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
137
137
* behavior of both the `Immediate` and non-`Immediate` versions.
@@ -144,7 +144,7 @@ module Generated {
144
144
}
145
145
146
146
/**
147
- * Gets the property wrapper backing var of this var declaration, if it exists.
147
+ * Gets the property wrapper backing variable of this variable declaration, if it exists.
148
148
*
149
149
* This is the synthesized variable holding the property wrapper for this variable, if any.
150
150
*/
@@ -158,7 +158,7 @@ module Generated {
158
158
final predicate hasPropertyWrapperBackingVar ( ) { exists ( getPropertyWrapperBackingVar ( ) ) }
159
159
160
160
/**
161
- * Gets the property wrapper projection var binding of this var declaration, if it exists.
161
+ * Gets the property wrapper projection variable binding of this variable declaration, if it exists.
162
162
*
163
163
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
164
164
* behavior of both the `Immediate` and non-`Immediate` versions.
@@ -171,7 +171,7 @@ module Generated {
171
171
}
172
172
173
173
/**
174
- * Gets the property wrapper projection var binding of this var declaration, if it exists.
174
+ * Gets the property wrapper projection variable binding of this variable declaration, if it exists.
175
175
*
176
176
* This is the synthesized binding introducing the property wrapper projection variable for this
177
177
* variable, if any.
@@ -188,7 +188,7 @@ module Generated {
188
188
}
189
189
190
190
/**
191
- * Gets the property wrapper projection var of this var declaration, if it exists.
191
+ * Gets the property wrapper projection variable of this variable declaration, if it exists.
192
192
*
193
193
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
194
194
* behavior of both the `Immediate` and non-`Immediate` versions.
@@ -201,7 +201,7 @@ module Generated {
201
201
}
202
202
203
203
/**
204
- * Gets the property wrapper projection var of this var declaration, if it exists.
204
+ * Gets the property wrapper projection variable of this variable declaration, if it exists.
205
205
*
206
206
* If this variable has a property wrapper with a projected value, this is the corresponding
207
207
* synthesized variable holding that projected value, accessible with this variable's name
0 commit comments