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