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