X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java b/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java index eeb62cf..663594d 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java @@ -9,128 +9,127 @@ public interface PHPParserConstants { int PHPECHOSTART = 3; int PHPEND = 4; int SINGLE_LINE_COMMENT = 15; - int SINGLE_LINE_COMMENT_PHPEND = 16; - int FORMAL_COMMENT = 17; - int MULTI_LINE_COMMENT = 18; - int CLASS = 20; - int FUNCTION = 21; - int VAR = 22; - int IF = 23; - int ELSEIF = 24; - 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 CASE = 40; - int CONST = 41; - int CONTINUE = 42; - int _DEFAULT = 43; - int DO = 44; - int EXTENDS = 45; - int FOR = 46; - int GOTO = 47; - int NEW = 48; - int NULL = 49; - int RETURN = 50; - int SUPER = 51; - int SWITCH = 52; - int THIS = 53; - int TRUE = 54; - 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 CLASS = 21; + int FUNCTION = 22; + int VAR = 23; + int IF = 24; + int ELSEIF = 25; + int ELSE = 26; + int ARRAY = 27; + int BREAK = 28; + int LIST = 29; + int PRINT = 30; + int ECHO = 31; + int INCLUDE = 32; + int REQUIRE = 33; + int INCLUDE_ONCE = 34; + int REQUIRE_ONCE = 35; + int GLOBAL = 36; + int STATIC = 37; + int CLASSACCESS = 38; + int STATICCLASSACCESS = 39; + int ARRAYASSIGN = 40; + int CASE = 41; + int CONST = 42; + int CONTINUE = 43; + int _DEFAULT = 44; + int DO = 45; + int EXTENDS = 46; + int FOR = 47; + int GOTO = 48; + int NEW = 49; + int NULL = 50; + int RETURN = 51; + int SUPER = 52; + int SWITCH = 53; + int THIS = 54; + int TRUE = 55; + int FALSE = 56; + int WHILE = 57; + int ENDWHILE = 58; + int ENDSWITCH = 59; + int ENDIF = 60; + int ENDFOR = 61; + int FOREACH = 62; + int AS = 63; + int STRING = 64; + int OBJECT = 65; + int BOOL = 66; + int BOOLEAN = 67; + int REAL = 68; + int DOUBLE = 69; + int FLOAT = 70; + int INT = 71; + int INTEGER = 72; + int AT = 73; + int DOLLAR = 74; + int BANG = 75; + int TILDE = 76; + int HOOK = 77; + int COLON = 78; + int OR_OR = 79; + int AND_AND = 80; + int PLUS_PLUS = 81; + int MINUS_MINUS = 82; + int PLUS = 83; + int MINUS = 84; + int STAR = 85; + int SLASH = 86; + int BIT_AND = 87; + int BIT_OR = 88; + int XOR = 89; + int REMAINDER = 90; + int LSHIFT = 91; + int RSIGNEDSHIFT = 92; + int RUNSIGNEDSHIFT = 93; + int _ORL = 94; + int _ANDL = 95; + int INTEGER_LITERAL = 96; + int DECIMAL_LITERAL = 97; + int HEX_LITERAL = 98; + int OCTAL_LITERAL = 99; + int FLOATING_POINT_LITERAL = 100; + int EXPONENT = 101; + int STRING_LITERAL = 102; + int STRING_1 = 103; + int STRING_2 = 104; + int STRING_3 = 105; + int IDENTIFIER = 106; + int LETTER = 107; + int DIGIT = 108; + int SPECIAL = 109; + int LPAREN = 110; + int RPAREN = 111; + int LBRACE = 112; + int RBRACE = 113; + int LBRACKET = 114; + int RBRACKET = 115; + int SEMICOLON = 116; + int COMMA = 117; + int DOT = 118; + int GT = 119; + int LT = 120; + int EQUAL_EQUAL = 121; + int LE = 122; + int GE = 123; + int NOT_EQUAL = 124; + int DIF = 125; + int BANGDOUBLEEQUAL = 126; + int TRIPLEEQUAL = 127; + int ASSIGN = 128; + int PLUSASSIGN = 129; + int MINUSASSIGN = 130; + int STARASSIGN = 131; + int SLASHASSIGN = 132; + int ANDASSIGN = 133; + int ORASSIGN = 134; + int XORASSIGN = 135; + int DOTASSIGN = 136; + int REMASSIGN = 137; + int TILDEEQUAL = 138; + int LSHIFTASSIGN = 139; + int RSIGNEDSHIFTASSIGN = 140; + int DOLLAR_ID = 141; int DEFAULT = 0; int PHPPARSING = 1; @@ -156,9 +155,10 @@ public interface PHPParserConstants { "\"/*\"", "", "\"?>\"", + "\"todo\"", "\"*/\"", "\"*/\"", - "", + "", "\"class\"", "\"function\"", "\"var\"", @@ -167,6 +167,7 @@ public interface PHPParserConstants { "\"else\"", "\"array\"", "\"break\"", + "\"list\"", "\"print\"", "\"echo\"", "\"include\"", @@ -178,7 +179,6 @@ public interface PHPParserConstants { "\"->\"", "\"::\"", "\"=>\"", - "\"list\"", "\"case\"", "\"const\"", "\"continue\"", @@ -197,6 +197,7 @@ public interface PHPParserConstants { "\"false\"", "\"while\"", "\"endwhile\"", + "\"endswitch\"", "\"endif\"", "\"endfor\"", "\"foreach\"", @@ -210,6 +211,27 @@ public interface PHPParserConstants { "\"float\"", "\"int\"", "\"integer\"", + "\"@\"", + "\"$\"", + "\"!\"", + "\"~\"", + "\"?\"", + "\":\"", + "\"||\"", + "\"&&\"", + "\"++\"", + "\"--\"", + "\"+\"", + "\"-\"", + "\"*\"", + "\"/\"", + "\"&\"", + "\"|\"", + "\"^\"", + "\"%\"", + "\"<<\"", + "\">>\"", + "\">>>\"", "\"OR\"", "\"AND\"", "", @@ -255,30 +277,9 @@ public interface PHPParserConstants { "\".=\"", "\"%=\"", "\"~=\"", - "\"@\"", - "\"$\"", - "\"!\"", - "\"?\"", - "\":\"", - "\"||\"", - "\"&&\"", - "\"++\"", - "\"--\"", - "\"+\"", - "\"-\"", - "\"*\"", - "\"/\"", - "\"&\"", - "\"|\"", - "\"^\"", - "\"%\"", - "\"<<\"", - "\">>\"", - "\">>>\"", "\"<<=\"", "\">>=\"", "", - "\"?>\"", }; }