@@ -90,7 +90,7 @@ class Sign extends TSign {
9090 * Gets a possible sign after subtracting an expression with sign `s` from an expression
9191 * that has this sign.
9292 */
93- Sign sub ( Sign s ) { result = add ( s .neg ( ) ) }
93+ Sign sub ( Sign s ) { result = this . add ( s .neg ( ) ) }
9494
9595 /**
9696 * Gets a possible sign after multiplying an expression with sign `s` to an expression
@@ -244,37 +244,37 @@ class Sign extends TSign {
244244
245245 /** Perform `op` on this sign. */
246246 Sign applyUnaryOp ( TUnarySignOperation op ) {
247- op = TIncOp ( ) and result = inc ( )
247+ op = TIncOp ( ) and result = this . inc ( )
248248 or
249- op = TDecOp ( ) and result = dec ( )
249+ op = TDecOp ( ) and result = this . dec ( )
250250 or
251- op = TNegOp ( ) and result = neg ( )
251+ op = TNegOp ( ) and result = this . neg ( )
252252 or
253- op = TBitNotOp ( ) and result = bitnot ( )
253+ op = TBitNotOp ( ) and result = this . bitnot ( )
254254 }
255255
256256 /** Perform `op` on this sign and sign `s`. */
257257 Sign applyBinaryOp ( Sign s , TBinarySignOperation op ) {
258- op = TAddOp ( ) and result = add ( s )
258+ op = TAddOp ( ) and result = this . add ( s )
259259 or
260- op = TSubOp ( ) and result = sub ( s )
260+ op = TSubOp ( ) and result = this . sub ( s )
261261 or
262- op = TMulOp ( ) and result = mul ( s )
262+ op = TMulOp ( ) and result = this . mul ( s )
263263 or
264- op = TDivOp ( ) and result = div ( s )
264+ op = TDivOp ( ) and result = this . div ( s )
265265 or
266- op = TRemOp ( ) and result = rem ( s )
266+ op = TRemOp ( ) and result = this . rem ( s )
267267 or
268- op = TBitAndOp ( ) and result = bitand ( s )
268+ op = TBitAndOp ( ) and result = this . bitand ( s )
269269 or
270- op = TBitOrOp ( ) and result = bitor ( s )
270+ op = TBitOrOp ( ) and result = this . bitor ( s )
271271 or
272- op = TBitXorOp ( ) and result = bitxor ( s )
272+ op = TBitXorOp ( ) and result = this . bitxor ( s )
273273 or
274- op = TLeftShiftOp ( ) and result = lshift ( s )
274+ op = TLeftShiftOp ( ) and result = this . lshift ( s )
275275 or
276- op = TRightShiftOp ( ) and result = rshift ( s )
276+ op = TRightShiftOp ( ) and result = this . rshift ( s )
277277 or
278- op = TUnsignedRightShiftOp ( ) and result = urshift ( s )
278+ op = TUnsignedRightShiftOp ( ) and result = this . urshift ( s )
279279 }
280280}
0 commit comments