@@ -636,8 +636,8 @@ class TrueOperator extends UnaryOperator {
636
636
* (`SubOperator`), a multiplication operator (`MulOperator`), a division
637
637
* operator (`DivOperator`), a remainder operator (`RemOperator`), an and
638
638
* operator (`AndOperator`), an or operator (`OrOperator`), an xor
639
- * operator (`XorOperator`), a left shift operator (`LShiftOperator `),
640
- * a right shift operator (`RShiftOperator `), an equals operator (`EQOperator`),
639
+ * operator (`XorOperator`), a left shift operator (`LeftShiftOperator `),
640
+ * a right shift operator (`RightShiftOperator `), an equals operator (`EQOperator`),
641
641
* a not equals operator (`NEOperator`), a lesser than operator (`LTOperator`),
642
642
* a greater than operator (`GTOperator`), a less than or equals operator
643
643
* (`LEOperator`), or a greater than or equals operator (`GEOperator`).
@@ -791,14 +791,17 @@ class XorOperator extends BinaryOperator {
791
791
* }
792
792
* ```
793
793
*/
794
- class LShiftOperator extends BinaryOperator {
795
- LShiftOperator ( ) { this .getName ( ) = "<<" }
794
+ class LeftShiftOperator extends BinaryOperator {
795
+ LeftShiftOperator ( ) { this .getName ( ) = "<<" }
796
796
797
797
override string getFunctionName ( ) { result = "op_LeftShift" }
798
798
799
- override string getAPrimaryQlClass ( ) { result = "LShiftOperator " }
799
+ override string getAPrimaryQlClass ( ) { result = "LeftShiftOperator " }
800
800
}
801
801
802
+ /** DEPRECATED: Alias for LeftShiftOperator. */
803
+ deprecated class LShiftOperator = LeftShiftOperator ;
804
+
802
805
/**
803
806
* A user-defined right shift operator (`>>`), for example
804
807
*
@@ -808,14 +811,17 @@ class LShiftOperator extends BinaryOperator {
808
811
* }
809
812
* ```
810
813
*/
811
- class RShiftOperator extends BinaryOperator {
812
- RShiftOperator ( ) { this .getName ( ) = ">>" }
814
+ class RightShiftOperator extends BinaryOperator {
815
+ RightShiftOperator ( ) { this .getName ( ) = ">>" }
813
816
814
817
override string getFunctionName ( ) { result = "op_RightShift" }
815
818
816
- override string getAPrimaryQlClass ( ) { result = "RShiftOperator " }
819
+ override string getAPrimaryQlClass ( ) { result = "RightShiftOperator " }
817
820
}
818
821
822
+ /** DEPRECATED: Alias for RightShiftOperator. */
823
+ deprecated class RShiftOperator = RightShiftOperator ;
824
+
819
825
/**
820
826
* A user-defined equals operator (`==`), for example
821
827
*
0 commit comments