Skip to content

Commit 95b1ad5

Browse files
committed
C#: Rename some DB scheme kinds.
1 parent 4c31866 commit 95b1ad5

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

csharp/ql/lib/semmlecode.csharp.dbscheme

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,12 +1254,14 @@ case @expr.kind of
12541254

12551255
@delegate_creation_expr = @explicit_delegate_creation_expr | @implicit_delegate_creation_expr;
12561256

1257-
@bin_arith_op_expr = @mul_expr | @div_expr | @rem_expr | @add_expr | @sub_expr;
1258-
@incr_op_expr = @pre_incr_expr | @post_incr_expr;
1259-
@decr_op_expr = @pre_decr_expr | @post_decr_expr;
1260-
@mut_op_expr = @incr_op_expr | @decr_op_expr;
1261-
@un_arith_op_expr = @plus_expr | @minus_expr | @mut_op_expr;
1262-
@arith_op_expr = @bin_arith_op_expr | @un_arith_op_expr;
1257+
@bin_arith_expr = @mul_expr | @div_expr | @rem_expr | @add_expr | @sub_expr;
1258+
@bin_arith_operation = @mul_operation | @div_operation | @rem_operation | @add_operation | @sub_operation;
1259+
1260+
@incr_operation = @pre_incr_expr | @post_incr_expr;
1261+
@decr_operation = @pre_decr_expr | @post_decr_expr;
1262+
@mut_operation = @incr_operation | @decr_operation;
1263+
@un_arith_operation = @plus_expr | @minus_expr | @mut_operation;
1264+
@arith_operation = @bin_arith_operation | @un_arith_operation;
12631265

12641266
@ternary_log_op_expr = @conditional_expr;
12651267
@bin_log_op_expr = @log_and_expr | @log_or_expr | @null_coalescing_expr;
@@ -1278,8 +1280,8 @@ case @expr.kind of
12781280
@op_expr = @un_op | @bin_op | @ternary_op;
12791281

12801282
@ternary_op = @ternary_log_op_expr;
1281-
@bin_op = @assign_expr | @bin_arith_op_expr | @bin_log_op_expr | @bin_bit_op_expr | @comp_expr;
1282-
@un_op = @un_arith_op_expr | @un_log_op_expr | @un_bit_op_expr | @sizeof_expr
1283+
@bin_op = @assign_expr | @bin_arith_operation | @bin_log_op_expr | @bin_bit_op_expr | @comp_expr;
1284+
@un_op = @un_arith_operation | @un_log_op_expr | @un_bit_op_expr | @sizeof_expr
12831285
| @pointer_indirection_expr | @address_of_expr;
12841286

12851287
@anonymous_function_expr = @lambda_expr | @anonymous_method_expr;

0 commit comments

Comments
 (0)