File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
ql/lib/codeql/swift/generated/decl Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ class NoClasses(Error):
62
62
"decl" : "declaration" ,
63
63
"repr" : "representation" ,
64
64
"param" : "parameter" ,
65
+ "int" : "integer" ,
65
66
}
66
67
67
68
abbreviations .update ({f"{ k } s" : f"{ v } s" for k , v in abbreviations .items ()})
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ module Generated {
8
8
override string getAPrimaryQlClass ( ) { result = "ConcreteVarDecl" }
9
9
10
10
/**
11
- * Gets the introducer int of this concrete var declaration.
11
+ * Gets the introducer enumeration value.
12
+ * This is 0 if the variable was introduced with `let` and 1 if it was introduced with `var`.
12
13
*/
13
14
int getIntroducerInt ( ) {
14
15
result = Synth:: convertConcreteVarDeclToRaw ( this ) .( Raw:: ConcreteVarDecl ) .getIntroducerInt ( )
Original file line number Diff line number Diff line change @@ -200,7 +200,9 @@ class ConcreteFuncDecl(FuncDecl):
200
200
pass
201
201
202
202
class ConcreteVarDecl (VarDecl ):
203
- introducer_int : int
203
+ introducer_int : int | doc ("introducer enumeration value" ) | desc ("""
204
+ This is 0 if the variable was introduced with `let` and 1 if it was introduced with `var`.
205
+ """ )
204
206
205
207
class GenericTypeParamDecl (AbstractTypeParamDecl ):
206
208
pass
You can’t perform that action at this time.
0 commit comments