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 new file mode 100644 index 0000000..333d9da --- /dev/null +++ b/net.sourceforge.phpeclipse/src/test/PHPParserConstants.java @@ -0,0 +1,260 @@ +/* Generated By:JavaCC: Do not edit this line. PHPParserConstants.java */ +package test; + +public interface PHPParserConstants { + + int EOF = 0; + int SINGLE_LINE_COMMENT = 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 STRING = 54; + int OBJECT = 55; + int BOOL = 56; + int BOOLEAN = 57; + int REAL = 58; + int DOUBLE = 59; + int FLOAT = 60; + int INT = 61; + int INTEGER = 62; + int _ORL = 63; + int _ANDL = 64; + int INTEGER_LITERAL = 65; + int DECIMAL_LITERAL = 66; + int HEX_LITERAL = 67; + int OCTAL_LITERAL = 68; + int FLOATING_POINT_LITERAL = 69; + int EXPONENT = 70; + int STRING_LITERAL = 71; + int STRING_1 = 72; + int STRING_2 = 73; + int STRING_3 = 74; + int IDENTIFIER = 75; + int LETTER = 76; + int DIGIT = 77; + int SPECIAL = 78; + int LPAREN = 79; + int RPAREN = 80; + int LBRACE = 81; + int RBRACE = 82; + int LBRACKET = 83; + int RBRACKET = 84; + int SEMICOLON = 85; + int COMMA = 86; + int DOT = 87; + int AT = 88; + int DOLLAR = 89; + int ASSIGN = 90; + int GT = 91; + int LT = 92; + int BANG = 93; + int HOOK = 94; + int COLON = 95; + int EQ = 96; + int LE = 97; + int GE = 98; + int NE = 99; + int SC_OR = 100; + int SC_AND = 101; + int INCR = 102; + int DECR = 103; + int PLUS = 104; + int MINUS = 105; + int STAR = 106; + int SLASH = 107; + int BIT_AND = 108; + int BIT_OR = 109; + int XOR = 110; + int REM = 111; + int LSHIFT = 112; + int RSIGNEDSHIFT = 113; + int RUNSIGNEDSHIFT = 114; + int PLUSASSIGN = 115; + int MINUSASSIGN = 116; + int STARASSIGN = 117; + int SLASHASSIGN = 118; + int ANDASSIGN = 119; + int ORASSIGN = 120; + int XORASSIGN = 121; + int DOTASSIGN = 122; + int REMASSIGN = 123; + int LSHIFTASSIGN = 124; + int RSIGNEDSHIFTASSIGN = 125; + int RUNSIGNEDSHIFTASSIGN = 126; + int DOLLAR_ID = 127; + + int DEFAULT = 0; + int PHPPARSING = 1; + int IN_SINGLE_LINE_COMMENT = 2; + int IN_FORMAL_COMMENT = 3; + int IN_MULTI_LINE_COMMENT = 4; + + String[] tokenImage = { + "", + "\"", + "\"?>\"", + "\" \"", + "\"\\t\"", + "\"\\n\"", + "\"\\r\"", + "\"\\f\"", + "\"//\"", + "", + "\"/*\"", + "", + "\"*/\"", + "\"*/\"", + "", + "\"class\"", + "\"function\"", + "\"var\"", + "\"if\"", + "\"elseif\"", + "\"else\"", + "\"array\"", + "\"print\"", + "\"echo\"", + "\"include\"", + "\"require\"", + "\"include_once\"", + "\"require_once\"", + "\"global\"", + "\"static\"", + "\"->\"", + "\"::\"", + "\"=>\"", + "\"break\"", + "\"case\"", + "\"const\"", + "\"continue\"", + "\"default\"", + "\"do\"", + "\"extends\"", + "\"false\"", + "\"for\"", + "\"goto\"", + "\"new\"", + "\"null\"", + "\"return\"", + "\"super\"", + "\"switch\"", + "\"this\"", + "\"true\"", + "\"while\"", + "\"endwhile\"", + "\"string\"", + "\"object\"", + "\"bool\"", + "\"boolean\"", + "\"real\"", + "\"double\"", + "\"float\"", + "\"int\"", + "\"integer\"", + "\"OR\"", + "\"AND\"", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\"_\"", + "\"(\"", + "\")\"", + "\"{\"", + "\"}\"", + "\"[\"", + "\"]\"", + "\";\"", + "\",\"", + "\".\"", + "\"@\"", + "\"$\"", + "\"=\"", + "\">\"", + "\"<\"", + "\"!\"", + "\"?\"", + "\":\"", + "\"==\"", + "\"<=\"", + "\">=\"", + "\"!=\"", + "\"||\"", + "\"&&\"", + "\"++\"", + "\"--\"", + "\"+\"", + "\"-\"", + "\"*\"", + "\"/\"", + "\"&\"", + "\"|\"", + "\"^\"", + "\"%\"", + "\"<<\"", + "\">>\"", + "\">>>\"", + "\"+=\"", + "\"-=\"", + "\"*=\"", + "\"/=\"", + "\"&=\"", + "\"|=\"", + "\"^=\"", + "\".=\"", + "\"%=\"", + "\"<<=\"", + "\">>=\"", + "\">>>=\"", + "", + "\"?>\"", + }; + +}