@@ -24,14 +24,14 @@ class BinaryArithmeticOperation extends ArithmeticOperation, BinaryOperation, @b
2424}
2525
2626/**
27- * A unary arithmetic operation. Either a unary minus operation
28- * (`UnaryMinusExpr`), a unary plus operation (`UnaryPlusExpr`),
27+ * A unary arithmetic operation. Either a unary minus expression
28+ * (`UnaryMinusExpr`), a unary plus expression (`UnaryPlusExpr`),
2929 * or a mutator operation (`MutatorOperation`).
3030 */
3131class UnaryArithmeticOperation extends ArithmeticOperation , UnaryOperation , @un_arith_operation { }
3232
3333/**
34- * A unary minus operation , for example `-x`.
34+ * A unary minus expression , for example `-x`.
3535 */
3636class UnaryMinusExpr extends UnaryArithmeticOperation , @minus_expr {
3737 override string getOperator ( ) { result = "-" }
@@ -40,7 +40,7 @@ class UnaryMinusExpr extends UnaryArithmeticOperation, @minus_expr {
4040}
4141
4242/**
43- * A unary plus operation , for example `+x`.
43+ * A unary plus expression , for example `+x`.
4444 */
4545class UnaryPlusExpr extends UnaryArithmeticOperation , @plus_expr {
4646 override string getOperator ( ) { result = "+" }
@@ -55,37 +55,37 @@ class UnaryPlusExpr extends UnaryArithmeticOperation, @plus_expr {
5555class MutatorOperation extends UnaryArithmeticOperation , @mut_operation { }
5656
5757/**
58- * An increment operation. Either a postfix increment operation
59- * (`PostIncrExpr`) or a prefix increment operation (`PreIncrExpr`).
58+ * An increment operation. Either a postfix increment expression
59+ * (`PostIncrExpr`) or a prefix increment expression (`PreIncrExpr`).
6060 */
6161class IncrementOperation extends MutatorOperation , @incr_operation {
6262 override string getOperator ( ) { result = "++" }
6363}
6464
6565/**
66- * A decrement operation. Either a postfix decrement operation
67- * (`PostDecrExpr`) or a prefix decrement operation (`PreDecrExpr`).
66+ * A decrement operation. Either a postfix decrement expression
67+ * (`PostDecrExpr`) or a prefix decrement expression (`PreDecrExpr`).
6868 */
6969class DecrementOperation extends MutatorOperation , @decr_operation {
7070 override string getOperator ( ) { result = "--" }
7171}
7272
7373/**
74- * A prefix increment operation , for example `++x`.
74+ * A prefix increment expression , for example `++x`.
7575 */
7676class PreIncrExpr extends IncrementOperation , @pre_incr_expr {
7777 override string getAPrimaryQlClass ( ) { result = "PreIncrExpr" }
7878}
7979
8080/**
81- * A prefix decrement operation , for example `--x`.
81+ * A prefix decrement expression , for example `--x`.
8282 */
8383class PreDecrExpr extends DecrementOperation , @pre_decr_expr {
8484 override string getAPrimaryQlClass ( ) { result = "PreDecrExpr" }
8585}
8686
8787/**
88- * A postfix increment operation , for example `x++`.
88+ * A postfix increment expression , for example `x++`.
8989 */
9090class PostIncrExpr extends IncrementOperation , @post_incr_expr {
9191 override string toString ( ) { result = "..." + this .getOperator ( ) }
@@ -94,7 +94,7 @@ class PostIncrExpr extends IncrementOperation, @post_incr_expr {
9494}
9595
9696/**
97- * A postfix decrement operation , for example `x--`.
97+ * A postfix decrement expression , for example `x--`.
9898 */
9999class PostDecrExpr extends DecrementOperation , @post_decr_expr {
100100 override string toString ( ) { result = "..." + this .getOperator ( ) }
@@ -142,7 +142,7 @@ class RemOperation extends BinaryArithmeticOperation, @rem_operation { }
142142class BinaryArithmeticExpr extends BinaryArithmeticOperation , @bin_arith_expr { }
143143
144144/**
145- * An addition operation , for example `x + y`.
145+ * An addition expression , for example `x + y`.
146146 */
147147class AddExpr extends BinaryArithmeticExpr , AddOperation , @add_expr {
148148 override string getOperator ( ) { result = "+" }
@@ -151,7 +151,7 @@ class AddExpr extends BinaryArithmeticExpr, AddOperation, @add_expr {
151151}
152152
153153/**
154- * A subtraction operation , for example `x - y`.
154+ * A subtraction expression , for example `x - y`.
155155 */
156156class SubExpr extends BinaryArithmeticExpr , SubOperation , @sub_expr {
157157 override string getOperator ( ) { result = "-" }
@@ -160,7 +160,7 @@ class SubExpr extends BinaryArithmeticExpr, SubOperation, @sub_expr {
160160}
161161
162162/**
163- * A multiplication operation , for example `x * y`.
163+ * A multiplication expression , for example `x * y`.
164164 */
165165class MulExpr extends BinaryArithmeticExpr , MulOperation , @mul_expr {
166166 override string getOperator ( ) { result = "*" }
@@ -169,7 +169,7 @@ class MulExpr extends BinaryArithmeticExpr, MulOperation, @mul_expr {
169169}
170170
171171/**
172- * A division operation , for example `x / y`.
172+ * A division expression , for example `x / y`.
173173 */
174174class DivExpr extends BinaryArithmeticExpr , DivOperation , @div_expr {
175175 override string getOperator ( ) { result = "/" }
@@ -178,7 +178,7 @@ class DivExpr extends BinaryArithmeticExpr, DivOperation, @div_expr {
178178}
179179
180180/**
181- * A remainder operation , for example `x % y`.
181+ * A remainder expression , for example `x % y`.
182182 */
183183class RemExpr extends BinaryArithmeticExpr , RemOperation , @rem_expr {
184184 override string getOperator ( ) { result = "%" }
0 commit comments