1 package spoon.reflect.code;2 3 /**4 * This enumeration defines all the kinds of binary operators.5 */6 public enum BinaryOperatorKind {7 8 /**9 * Logical or.10 */11 OR, // ||12 /**13 * Logical and.14 */15 AND, // &&16 /**17 * Bit to bit or.18 */19 BITOR, // |20 /**21 * Bit to bit xor.22 */23 BITXOR, // ^24 /**25 * Bit to bit and.26 */27 BITAND, // &28 /**29 * Equality.30 */31 EQ, // ==32 /**33 * Inequality.34 */35 NE, // !=36 /**37 * Lower than comparison.38 */39 LT, // <40 /**41 * Greater than comparison.42 */43 GT, // >44 /**45 * Lower or equal comparison.46 */47 LE, // <=48 /**49 * Greater or equal comparison.50 */51 GE, // >=52 /**53 * Shift left.54 */55 SL, // <<56 /**57 * Shift right.58 */59 SR, // >>60 /**61 * Unsigned shift right.62 */63 USR, // >>>64 /**65 * Addition.66 */67 PLUS, // +68 /**69 * Substraction.70 */71 MINUS, // -72 /**73 * Multiplication.74 */75 MUL, // *76 /**77 * Division.78 */79 DIV, // /80 /**81 * Modulo.82 */83 MOD, // %84 /**85 * Instanceof (OO specific).86 */87 INSTANCEOF // instanceof88 89 }90