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