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):
6262 "decl" : "declaration" ,
6363 "repr" : "representation" ,
6464 "param" : "parameter" ,
65+ "int" : "integer" ,
6566}
6667
6768abbreviations .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 {
88 override string getAPrimaryQlClass ( ) { result = "ConcreteVarDecl" }
99
1010 /**
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`.
1213 */
1314 int getIntroducerInt ( ) {
1415 result = Synth:: convertConcreteVarDeclToRaw ( this ) .( Raw:: ConcreteVarDecl ) .getIntroducerInt ( )
Original file line number Diff line number Diff line change @@ -200,7 +200,9 @@ class ConcreteFuncDecl(FuncDecl):
200200 pass
201201
202202class 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+ """ )
204206
205207class GenericTypeParamDecl (AbstractTypeParamDecl ):
206208 pass
You can’t perform that action at this time.
0 commit comments