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 ab69d54..1d8793c 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java @@ -7,121 +7,124 @@ public interface PHPParserConstants { int PHPSTART = 1; int PHPEND = 2; int SINGLE_LINE_COMMENT = 12; - int FORMAL_COMMENT = 13; - int MULTI_LINE_COMMENT = 14; - int CLASS = 16; - int FUNCTION = 17; - int VAR = 18; - int IF = 19; - int ELSEIF = 20; - int ELSE = 21; - int ARRAY = 22; - int PRINT = 23; - int ECHO = 24; - int INCLUDE = 25; - int REQUIRE = 26; - int INCLUDE_ONCE = 27; - int REQUIRE_ONCE = 28; - int GLOBAL = 29; - int STATIC = 30; - int CLASSACCESS = 31; - int STATICCLASSACCESS = 32; - int ARRAYASSIGN = 33; - int BREAK = 34; - int CASE = 35; - int CONST = 36; - int CONTINUE = 37; - int _DEFAULT = 38; - int DO = 39; - int EXTENDS = 40; - int FALSE = 41; - int FOR = 42; - int GOTO = 43; - int NEW = 44; - int NULL = 45; - int RETURN = 46; - int SUPER = 47; - int SWITCH = 48; - int THIS = 49; - int TRUE = 50; - int WHILE = 51; - int ENDWHILE = 52; - int STRING = 53; - int OBJECT = 54; - int BOOL = 55; - int BOOLEAN = 56; - int REAL = 57; - int DOUBLE = 58; - int FLOAT = 59; - int INT = 60; - int INTEGER = 61; - int _ORL = 62; - int _ANDL = 63; - int INTEGER_LITERAL = 64; - int DECIMAL_LITERAL = 65; - int HEX_LITERAL = 66; - int OCTAL_LITERAL = 67; - int FLOATING_POINT_LITERAL = 68; - int EXPONENT = 69; - int STRING_LITERAL = 70; - int STRING_1 = 71; - int STRING_2 = 72; - int STRING_3 = 73; - int IDENTIFIER = 74; - int LETTER = 75; - int DIGIT = 76; - int SPECIAL = 77; - int LPAREN = 78; - int RPAREN = 79; - int LBRACE = 80; - int RBRACE = 81; - int LBRACKET = 82; - int RBRACKET = 83; - int SEMICOLON = 84; - int COMMA = 85; - int DOT = 86; - int AT = 87; - int DOLLAR = 88; - int ASSIGN = 89; - int GT = 90; - int LT = 91; - int BANG = 92; - int HOOK = 93; - int COLON = 94; - int EQ = 95; - int LE = 96; - int GE = 97; - int NE = 98; - int SC_OR = 99; - int SC_AND = 100; - int INCR = 101; - int DECR = 102; - int PLUS = 103; - int MINUS = 104; - int STAR = 105; - int SLASH = 106; - int BIT_AND = 107; - int BIT_OR = 108; - int XOR = 109; - int REM = 110; - int LSHIFT = 111; - int RSIGNEDSHIFT = 112; - int RUNSIGNEDSHIFT = 113; - int PLUSASSIGN = 114; - int MINUSASSIGN = 115; - int STARASSIGN = 116; - int SLASHASSIGN = 117; - int ANDASSIGN = 118; - int ORASSIGN = 119; - int XORASSIGN = 120; - int DOTASSIGN = 121; - int REMASSIGN = 122; - int LSHIFTASSIGN = 123; - int RSIGNEDSHIFTASSIGN = 124; - int BANGDOUBLEEQUAL = 125; - int TRIPLEEQUAL = 126; - int TILDEEQUAL = 127; - int DOLLAR_ID = 128; + 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 FOREACH = 54; + int AS = 55; + int STRING = 56; + int OBJECT = 57; + int BOOL = 58; + int BOOLEAN = 59; + int REAL = 60; + int DOUBLE = 61; + int FLOAT = 62; + int INT = 63; + int INTEGER = 64; + int _ORL = 65; + int _ANDL = 66; + int INTEGER_LITERAL = 67; + int DECIMAL_LITERAL = 68; + int HEX_LITERAL = 69; + int OCTAL_LITERAL = 70; + int FLOATING_POINT_LITERAL = 71; + int EXPONENT = 72; + int STRING_LITERAL = 73; + int STRING_1 = 74; + int STRING_2 = 75; + int STRING_3 = 76; + int IDENTIFIER = 77; + int LETTER = 78; + int DIGIT = 79; + int SPECIAL = 80; + int LPAREN = 81; + int RPAREN = 82; + int LBRACE = 83; + int RBRACE = 84; + int LBRACKET = 85; + int RBRACKET = 86; + int SEMICOLON = 87; + int COMMA = 88; + int DOT = 89; + int AT = 90; + int DOLLAR = 91; + int ASSIGN = 92; + int GT = 93; + int LT = 94; + int BANG = 95; + int HOOK = 96; + int COLON = 97; + int EQ = 98; + int LE = 99; + int GE = 100; + int NE = 101; + int SC_OR = 102; + int SC_AND = 103; + int INCR = 104; + int DECR = 105; + int PLUS = 106; + int MINUS = 107; + int STAR = 108; + int SLASH = 109; + int BIT_AND = 110; + int BIT_OR = 111; + int XOR = 112; + int REM = 113; + int LSHIFT = 114; + int RSIGNEDSHIFT = 115; + int RUNSIGNEDSHIFT = 116; + int PLUSASSIGN = 117; + int MINUSASSIGN = 118; + int STARASSIGN = 119; + int SLASHASSIGN = 120; + int ANDASSIGN = 121; + int ORASSIGN = 122; + int XORASSIGN = 123; + int DOTASSIGN = 124; + int REMASSIGN = 125; + int LSHIFTASSIGN = 126; + int RSIGNEDSHIFTASSIGN = 127; + int BANGDOUBLEEQUAL = 128; + int TRIPLEEQUAL = 129; + int TILDEEQUAL = 130; + int DOLLAR_ID = 131; int DEFAULT = 0; int PHPPARSING = 1; @@ -143,9 +146,10 @@ public interface PHPParserConstants { "", "\"/*\"", "", + "\"?>\"", "\"*/\"", "\"*/\"", - "", + "", "\"class\"", "\"function\"", "\"var\"", @@ -183,6 +187,8 @@ public interface PHPParserConstants { "\"true\"", "\"while\"", "\"endwhile\"", + "\"foreach\"", + "\"as\"", "\"string\"", "\"object\"", "\"bool\"",