1) Fixed issue #844: Short form of ternary operator (since PHP 5.3).
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / OperatorIds.java
index 1246180..3a427af 100644 (file)
@@ -1,43 +1,69 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
+ * Copyright (c) 2000, 2003 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials 
- * are made available under the terms of the Common Public License v0.5 
+ * are made available under the terms of the Common Public License v1.0
  * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v05.html
+ * http://www.eclipse.org/legal/cpl-v10.html
  * 
  * Contributors:
  *     IBM Corporation - initial API and implementation
- ******************************************************************************/
+ *******************************************************************************/
 package net.sourceforge.phpdt.internal.compiler.ast;
 
 public interface OperatorIds {
        public static final int AND_AND = 0;
+
        public static final int OR_OR = 1;
-       public static final int AND = 2; 
-       public static final int OR = 3; 
+
+       public static final int AND = 2;
+
+       public static final int OR = 3;
+
        public static final int LESS = 4;
+
        public static final int LESS_EQUAL = 5;
+
        public static final int GREATER = 6;
+
        public static final int GREATER_EQUAL = 7;
+
        public static final int XOR = 8;
-       public static final int DIVIDE = 9; 
+
+       public static final int DIVIDE = 9;
+
        public static final int LEFT_SHIFT = 10;
-       public static final int NOT = 11; 
-       public static final int TWIDDLE = 12; 
-       public static final int MINUS = 13; 
-       public static final int PLUS = 14; 
-       public static final int MULTIPLY = 15; 
+
+       public static final int NOT = 11;
+
+       public static final int TWIDDLE = 12;
+
+       public static final int MINUS = 13;
+
+       public static final int PLUS = 14;
+
+       public static final int MULTIPLY = 15;
+
        public static final int REMAINDER = 16;
+
        public static final int RIGHT_SHIFT = 17;
+
        public static final int EQUAL_EQUAL = 18;
-       public static final int UNSIGNED_RIGHT_SHIFT= 19;
+
+       public static final int UNSIGNED_RIGHT_SHIFT = 19;
+
        public static final int NumberOfTables = 20;
 
        public static final int QUESTIONCOLON = 23;
 
        public static final int NOT_EQUAL = 29;
+
        public static final int EQUAL = 30;
+
        public static final int INSTANCEOF = 31;
+
        public static final int PLUS_PLUS = 32;
+
        public static final int MINUS_MINUS = 33;
+       
+       public static final int TERNARY_SHORT = 34;
 }