@@ -39,12 +39,12 @@ class IRVariable extends TIRVariable {
3939 /**
4040 * Gets the type of the variable.
4141 */
42- final Language:: Type getType ( ) { getLanguageType ( ) .hasType ( result , false ) }
42+ final Language:: Type getType ( ) { this . getLanguageType ( ) .hasType ( result , false ) }
4343
4444 /**
4545 * Gets the language-neutral type of the variable.
4646 */
47- final IRType getIRType ( ) { result = getLanguageType ( ) .getIRType ( ) }
47+ final IRType getIRType ( ) { result = this . getLanguageType ( ) .getIRType ( ) }
4848
4949 /**
5050 * Gets the type of the variable.
@@ -58,7 +58,7 @@ class IRVariable extends TIRVariable {
5858 Language:: AST getAst ( ) { none ( ) }
5959
6060 /** DEPRECATED: Alias for getAst */
61- deprecated Language:: AST getAST ( ) { result = getAst ( ) }
61+ deprecated Language:: AST getAST ( ) { result = this . getAst ( ) }
6262
6363 /**
6464 * Gets an identifier string for the variable. This identifier is unique
@@ -69,7 +69,7 @@ class IRVariable extends TIRVariable {
6969 /**
7070 * Gets the source location of this variable.
7171 */
72- final Language:: Location getLocation ( ) { result = getAst ( ) .getLocation ( ) }
72+ final Language:: Location getLocation ( ) { result = this . getAst ( ) .getLocation ( ) }
7373
7474 /**
7575 * Gets the IR for the function that references this variable.
@@ -91,15 +91,15 @@ class IRUserVariable extends IRVariable, TIRUserVariable {
9191
9292 IRUserVariable ( ) { this = TIRUserVariable ( var , type , func ) }
9393
94- final override string toString ( ) { result = getVariable ( ) .toString ( ) }
94+ final override string toString ( ) { result = this . getVariable ( ) .toString ( ) }
9595
9696 final override Language:: AST getAst ( ) { result = var }
9797
9898 /** DEPRECATED: Alias for getAst */
99- deprecated override Language:: AST getAST ( ) { result = getAst ( ) }
99+ deprecated override Language:: AST getAST ( ) { result = this . getAst ( ) }
100100
101101 final override string getUniqueId ( ) {
102- result = getVariable ( ) .toString ( ) + " " + getVariable ( ) .getLocation ( ) .toString ( )
102+ result = this . getVariable ( ) .toString ( ) + " " + this . getVariable ( ) .getLocation ( ) .toString ( )
103103 }
104104
105105 final override Language:: LanguageType getLanguageType ( ) { result = type }
@@ -166,9 +166,9 @@ class IRGeneratedVariable extends IRVariable {
166166 final override Language:: AST getAst ( ) { result = ast }
167167
168168 /** DEPRECATED: Alias for getAst */
169- deprecated override Language:: AST getAST ( ) { result = getAst ( ) }
169+ deprecated override Language:: AST getAST ( ) { result = this . getAst ( ) }
170170
171- override string toString ( ) { result = getBaseString ( ) + getLocationString ( ) }
171+ override string toString ( ) { result = this . getBaseString ( ) + this . getLocationString ( ) }
172172
173173 override string getUniqueId ( ) { none ( ) }
174174
@@ -272,7 +272,7 @@ class IRStringLiteral extends IRGeneratedVariable, TIRStringLiteral {
272272 final override predicate isReadOnly ( ) { any ( ) }
273273
274274 final override string getUniqueId ( ) {
275- result = "String: " + getLocationString ( ) + "=" + Language:: getStringLiteralText ( literal )
275+ result = "String: " + this . getLocationString ( ) + "=" + Language:: getStringLiteralText ( literal )
276276 }
277277
278278 final override string getBaseString ( ) { result = "#string" }
@@ -303,7 +303,8 @@ class IRDynamicInitializationFlag extends IRGeneratedVariable, TIRDynamicInitial
303303 final Language:: Variable getVariable ( ) { result = var }
304304
305305 final override string getUniqueId ( ) {
306- result = "Init: " + getVariable ( ) .toString ( ) + " " + getVariable ( ) .getLocation ( ) .toString ( )
306+ result =
307+ "Init: " + this .getVariable ( ) .toString ( ) + " " + this .getVariable ( ) .getLocation ( ) .toString ( )
307308 }
308309
309310 final override string getBaseString ( ) { result = "#init:" + var .toString ( ) + ":" }
@@ -332,5 +333,5 @@ class IRParameter extends IRAutomaticVariable {
332333 * An IR variable representing a positional parameter.
333334 */
334335class IRPositionalParameter extends IRParameter , IRAutomaticUserVariable {
335- final override int getIndex ( ) { result = getVariable ( ) .( Language:: Parameter ) .getIndex ( ) }
336+ final override int getIndex ( ) { result = this . getVariable ( ) .( Language:: Parameter ) .getIndex ( ) }
336337}
0 commit comments