A lot of changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / test / PHPParserConstants.java
index d1008b0..99de374 100644 (file)
@@ -20,18 +20,18 @@ public interface PHPParserConstants {
   int ELSE = 25;
   int ARRAY = 26;
   int BREAK = 27;
-  int PRINT = 28;
-  int ECHO = 29;
-  int INCLUDE = 30;
-  int REQUIRE = 31;
-  int INCLUDE_ONCE = 32;
-  int REQUIRE_ONCE = 33;
-  int GLOBAL = 34;
-  int STATIC = 35;
-  int CLASSACCESS = 36;
-  int STATICCLASSACCESS = 37;
-  int ARRAYASSIGN = 38;
-  int LIST = 39;
+  int LIST = 28;
+  int PRINT = 29;
+  int ECHO = 30;
+  int INCLUDE = 31;
+  int REQUIRE = 32;
+  int INCLUDE_ONCE = 33;
+  int REQUIRE_ONCE = 34;
+  int GLOBAL = 35;
+  int STATIC = 36;
+  int CLASSACCESS = 37;
+  int STATICCLASSACCESS = 38;
+  int ARRAYASSIGN = 39;
   int CASE = 40;
   int CONST = 41;
   int CONTINUE = 42;
@@ -50,87 +50,89 @@ public interface PHPParserConstants {
   int FALSE = 55;
   int WHILE = 56;
   int ENDWHILE = 57;
-  int ENDIF = 58;
-  int ENDFOR = 59;
-  int FOREACH = 60;
-  int AS = 61;
-  int STRING = 62;
-  int OBJECT = 63;
-  int BOOL = 64;
-  int BOOLEAN = 65;
-  int REAL = 66;
-  int DOUBLE = 67;
-  int FLOAT = 68;
-  int INT = 69;
-  int INTEGER = 70;
-  int _ORL = 71;
-  int _ANDL = 72;
-  int INTEGER_LITERAL = 73;
-  int DECIMAL_LITERAL = 74;
-  int HEX_LITERAL = 75;
-  int OCTAL_LITERAL = 76;
-  int FLOATING_POINT_LITERAL = 77;
-  int EXPONENT = 78;
-  int STRING_LITERAL = 79;
-  int STRING_1 = 80;
-  int STRING_2 = 81;
-  int STRING_3 = 82;
-  int IDENTIFIER = 83;
-  int LETTER = 84;
-  int DIGIT = 85;
-  int SPECIAL = 86;
-  int LPAREN = 87;
-  int RPAREN = 88;
-  int LBRACE = 89;
-  int RBRACE = 90;
-  int LBRACKET = 91;
-  int RBRACKET = 92;
-  int SEMICOLON = 93;
-  int COMMA = 94;
-  int DOT = 95;
-  int GT = 96;
-  int LT = 97;
-  int EQ = 98;
-  int LE = 99;
-  int GE = 100;
-  int NE = 101;
-  int DIF = 102;
-  int BANGDOUBLEEQUAL = 103;
-  int TRIPLEEQUAL = 104;
-  int ASSIGN = 105;
-  int PLUSASSIGN = 106;
-  int MINUSASSIGN = 107;
-  int STARASSIGN = 108;
-  int SLASHASSIGN = 109;
-  int ANDASSIGN = 110;
-  int ORASSIGN = 111;
-  int XORASSIGN = 112;
-  int DOTASSIGN = 113;
-  int REMASSIGN = 114;
-  int TILDEEQUAL = 115;
-  int AT = 116;
-  int DOLLAR = 117;
-  int BANG = 118;
-  int HOOK = 119;
-  int COLON = 120;
-  int SC_OR = 121;
-  int SC_AND = 122;
-  int INCR = 123;
-  int DECR = 124;
-  int PLUS = 125;
-  int MINUS = 126;
-  int STAR = 127;
-  int SLASH = 128;
-  int BIT_AND = 129;
-  int BIT_OR = 130;
-  int XOR = 131;
-  int REM = 132;
-  int LSHIFT = 133;
-  int RSIGNEDSHIFT = 134;
-  int RUNSIGNEDSHIFT = 135;
-  int LSHIFTASSIGN = 136;
-  int RSIGNEDSHIFTASSIGN = 137;
-  int DOLLAR_ID = 138;
+  int ENDSWITCH = 58;
+  int ENDIF = 59;
+  int ENDFOR = 60;
+  int FOREACH = 61;
+  int AS = 62;
+  int STRING = 63;
+  int OBJECT = 64;
+  int BOOL = 65;
+  int BOOLEAN = 66;
+  int REAL = 67;
+  int DOUBLE = 68;
+  int FLOAT = 69;
+  int INT = 70;
+  int INTEGER = 71;
+  int _ORL = 72;
+  int _ANDL = 73;
+  int INTEGER_LITERAL = 74;
+  int DECIMAL_LITERAL = 75;
+  int HEX_LITERAL = 76;
+  int OCTAL_LITERAL = 77;
+  int FLOATING_POINT_LITERAL = 78;
+  int EXPONENT = 79;
+  int STRING_LITERAL = 80;
+  int STRING_1 = 81;
+  int STRING_2 = 82;
+  int STRING_3 = 83;
+  int IDENTIFIER = 84;
+  int LETTER = 85;
+  int DIGIT = 86;
+  int SPECIAL = 87;
+  int LPAREN = 88;
+  int RPAREN = 89;
+  int LBRACE = 90;
+  int RBRACE = 91;
+  int LBRACKET = 92;
+  int RBRACKET = 93;
+  int SEMICOLON = 94;
+  int COMMA = 95;
+  int DOT = 96;
+  int GT = 97;
+  int LT = 98;
+  int EQ = 99;
+  int LE = 100;
+  int GE = 101;
+  int NE = 102;
+  int DIF = 103;
+  int BANGDOUBLEEQUAL = 104;
+  int TRIPLEEQUAL = 105;
+  int ASSIGN = 106;
+  int PLUSASSIGN = 107;
+  int MINUSASSIGN = 108;
+  int STARASSIGN = 109;
+  int SLASHASSIGN = 110;
+  int ANDASSIGN = 111;
+  int ORASSIGN = 112;
+  int XORASSIGN = 113;
+  int DOTASSIGN = 114;
+  int REMASSIGN = 115;
+  int TILDEEQUAL = 116;
+  int AT = 117;
+  int DOLLAR = 118;
+  int BANG = 119;
+  int TILDE = 120;
+  int HOOK = 121;
+  int COLON = 122;
+  int SC_OR = 123;
+  int SC_AND = 124;
+  int INCR = 125;
+  int DECR = 126;
+  int PLUS = 127;
+  int MINUS = 128;
+  int STAR = 129;
+  int SLASH = 130;
+  int BIT_AND = 131;
+  int BIT_OR = 132;
+  int XOR = 133;
+  int REM = 134;
+  int LSHIFT = 135;
+  int RSIGNEDSHIFT = 136;
+  int RUNSIGNEDSHIFT = 137;
+  int LSHIFTASSIGN = 138;
+  int RSIGNEDSHIFTASSIGN = 139;
+  int DOLLAR_ID = 140;
 
   int DEFAULT = 0;
   int PHPPARSING = 1;
@@ -167,6 +169,7 @@ public interface PHPParserConstants {
     "\"else\"",
     "\"array\"",
     "\"break\"",
+    "\"list\"",
     "\"print\"",
     "\"echo\"",
     "\"include\"",
@@ -178,7 +181,6 @@ public interface PHPParserConstants {
     "\"->\"",
     "\"::\"",
     "\"=>\"",
-    "\"list\"",
     "\"case\"",
     "\"const\"",
     "\"continue\"",
@@ -197,6 +199,7 @@ public interface PHPParserConstants {
     "\"false\"",
     "\"while\"",
     "\"endwhile\"",
+    "\"endswitch\"",
     "\"endif\"",
     "\"endfor\"",
     "\"foreach\"",
@@ -258,6 +261,7 @@ public interface PHPParserConstants {
     "\"@\"",
     "\"$\"",
     "\"!\"",
+    "\"~\"",
     "\"?\"",
     "\":\"",
     "\"||\"",