1 package net.sourceforge.phpdt.internal.compiler.ast;
4 * The operators used in php.
5 * Copied from org.eclipse.jdt.internal.compiler.ast.OperatorIds
6 * @author Matthieu Casanova
8 public interface OperatorIds {
9 static final int AND_AND = 0; // "&&"
10 static final int OR_OR = 1; // "||"
11 static final int AND = 2; // "&"
12 static final int OR = 3; // "|"
13 static final int LESS = 4; // "<"
14 static final int LESS_EQUAL = 5; // "<="
15 static final int GREATER = 6; // ">"
16 static final int GREATER_EQUAL = 7; // ">="
17 static final int XOR = 8; // "^"
18 static final int DIVIDE = 9; // "/"
19 static final int LEFT_SHIFT = 10; // "<<"
20 static final int NOT = 11; // "!"
21 static final int TWIDDLE = 12; // "~"
22 static final int MINUS = 13; // "-"
23 static final int PLUS = 14; // "+"
24 static final int MULTIPLY = 15; // "*"
25 static final int REMAINDER = 16; // "%"
26 static final int RIGHT_SHIFT = 17; // ">>"
27 static final int EQUAL_EQUAL = 18; // "=="
28 static final int UNSIGNED_RIGHT_SHIFT= 19; // ">>>"
29 static final int ORL = 20; // "OR"
30 static final int ANDL = 21; // "AND"
31 static final int DOT = 22; // "."
32 static final int DIF = 23; // "<>"
33 static final int BANG_EQUAL_EQUAL = 24; // "!=="
34 static final int EQUAL_EQUAL_EQUAL = 25; // "==="
35 static final int AT = 26; // "@"
37 static final int NOT_EQUAL = 29; // "!="
38 static final int PLUS_PLUS = 32; // "++"
39 static final int MINUS_MINUS = 33; // "--"
40 static final int NEW = 34; // "new "
41 static final int EQUAL = 35; // "="