/plugins/PHPParser/tags/v1_2_3/src/gatchan/phpparser/parser/PHPParserConstants.java
# · Java · 341 lines · 335 code · 5 blank · 1 comment · 0 complexity · b5375f36048164f60b6c6e8213d3d036 MD5 · raw file
- /* Generated By:JavaCC: Do not edit this line. PHPParserConstants.java */
- package gatchan.phpparser.parser;
- public interface PHPParserConstants {
- int EOF = 0;
- int PHPSTARTSHORT = 1;
- int PHPSTARTLONG = 2;
- int PHPECHOSTART = 3;
- int PHPEND = 4;
- int SINGLE_LINE_COMMENT = 21;
- int PUBLIC = 26;
- int PROTECTED = 27;
- int PRIVATE = 28;
- int ABSTRACT = 29;
- int INTERFACE = 30;
- int IMPLEMENTS = 31;
- int FINAL = 32;
- int TRY = 33;
- int CATCH = 34;
- int THROW = 35;
- int CLASS = 36;
- int FUNCTION = 37;
- int VAR = 38;
- int IF = 39;
- int ELSEIF = 40;
- int ELSE = 41;
- int ARRAY = 42;
- int BREAK = 43;
- int LIST = 44;
- int PRINT = 45;
- int ECHO = 46;
- int INCLUDE = 47;
- int REQUIRE = 48;
- int INCLUDE_ONCE = 49;
- int REQUIRE_ONCE = 50;
- int GLOBAL = 51;
- int STATIC = 52;
- int CASE = 53;
- int CONST = 54;
- int CONTINUE = 55;
- int _DEFAULT = 56;
- int DO = 57;
- int EXTENDS = 58;
- int FOR = 59;
- int NEW = 60;
- int RETURN = 61;
- int SWITCH = 62;
- int WHILE = 63;
- int ENDWHILE = 64;
- int ENDSWITCH = 65;
- int ENDIF = 66;
- int ENDFOR = 67;
- int ENDFOREACH = 68;
- int FOREACH = 69;
- int AS = 70;
- int CLASSACCESS = 71;
- int STATICCLASSACCESS = 72;
- int ARRAYASSIGN = 73;
- int DEFINE = 74;
- int GOTO = 75;
- int NULL = 76;
- int SUPER = 77;
- int THIS = 78;
- int TRUE = 79;
- int FALSE = 80;
- int INSTANCEOF = 81;
- int STRING = 82;
- int OBJECT = 83;
- int BOOL = 84;
- int BOOLEAN = 85;
- int REAL = 86;
- int DOUBLE = 87;
- int FLOAT = 88;
- int INT = 89;
- int INTEGER = 90;
- int AT = 91;
- int BANG = 92;
- int TILDE = 93;
- int HOOK = 94;
- int COLON = 95;
- int OR_OR = 96;
- int AND_AND = 97;
- int PLUS_PLUS = 98;
- int MINUS_MINUS = 99;
- int PLUS = 100;
- int MINUS = 101;
- int STAR = 102;
- int SLASH = 103;
- int BIT_AND = 104;
- int BIT_OR = 105;
- int BIT_XOR = 106;
- int REMAINDER = 107;
- int LSHIFT = 108;
- int RSIGNEDSHIFT = 109;
- int RUNSIGNEDSHIFT = 110;
- int _ORL = 111;
- int XOR = 112;
- int _ANDL = 113;
- int INTEGER_LITERAL = 114;
- int DECIMAL_LITERAL = 115;
- int HEX_LITERAL = 116;
- int OCTAL_LITERAL = 117;
- int FLOATING_POINT_LITERAL = 118;
- int EXPONENT = 119;
- int STRING_LITERAL = 120;
- int STRING_2 = 121;
- int STRING_3 = 122;
- int ESCAPED = 123;
- int DOUBLEQUOTE = 124;
- int DOLLARS = 125;
- int DOUBLEQUOTE2 = 126;
- int LBRACE1 = 127;
- int RBRACE1 = 131;
- int ID = 132;
- int HEREDOCSTARTTOKEN = 135;
- int DOLLAR = 136;
- int IDENTIFIER = 137;
- int LETTER = 138;
- int DIGIT = 139;
- int SPECIAL = 140;
- int LPAREN = 142;
- int RPAREN = 143;
- int LBRACE = 144;
- int RBRACE = 145;
- int LBRACKET = 146;
- int RBRACKET = 147;
- int SEMICOLON = 148;
- int COMMA = 149;
- int DOT = 150;
- int GT = 151;
- int LT = 152;
- int EQUAL_EQUAL = 153;
- int LE = 154;
- int GE = 155;
- int NOT_EQUAL = 156;
- int DIF = 157;
- int BANGDOUBLEEQUAL = 158;
- int TRIPLEEQUAL = 159;
- int ASSIGN = 160;
- int PLUSASSIGN = 161;
- int MINUSASSIGN = 162;
- int STARASSIGN = 163;
- int SLASHASSIGN = 164;
- int ANDASSIGN = 165;
- int ORASSIGN = 166;
- int XORASSIGN = 167;
- int DOTASSIGN = 168;
- int REMASSIGN = 169;
- int TILDEEQUAL = 170;
- int LSHIFTASSIGN = 171;
- int RSIGNEDSHIFTASSIGN = 172;
- int DEFAULT = 0;
- int PHPPARSING = 1;
- int IN_SINGLE_LINE_COMMENT = 2;
- int IN_VARIABLE = 3;
- int IN_FORMAL_COMMENT = 4;
- int IN_MULTI_LINE_COMMENT = 5;
- int IN_STRING = 6;
- int DOLLAR_IN_STRING = 7;
- int SKIPSTRING = 8;
- int DOLLAR_IN_STRING_EXPR = 9;
- String[] tokenImage = {
- "<EOF>",
- "\"<?\"",
- "\"<?php\"",
- "\"<?=\"",
- "\"?>\"",
- "<token of kind 5>",
- "\"<?xml\"",
- "\" \"",
- "\"\\t\"",
- "\"\\n\"",
- "\"\\r\"",
- "\"\\f\"",
- "\" \"",
- "\"\\t\"",
- "\"\\n\"",
- "\"\\r\"",
- "\"\\f\"",
- "\"//\"",
- "\"#\"",
- "<token of kind 19>",
- "\"/*\"",
- "<SINGLE_LINE_COMMENT>",
- "<token of kind 22>",
- "\"*/\"",
- "\"*/\"",
- "<token of kind 25>",
- "\"public\"",
- "\"protected\"",
- "\"private\"",
- "\"abstract\"",
- "\"interface\"",
- "\"implements\"",
- "\"final\"",
- "\"try\"",
- "\"catch\"",
- "\"throw\"",
- "\"class\"",
- "\"function\"",
- "\"var\"",
- "\"if\"",
- "\"elseif\"",
- "\"else\"",
- "\"array\"",
- "\"break\"",
- "\"list\"",
- "\"print\"",
- "\"echo\"",
- "\"include\"",
- "\"require\"",
- "\"include_once\"",
- "\"require_once\"",
- "\"global\"",
- "\"static\"",
- "\"case\"",
- "\"const\"",
- "\"continue\"",
- "\"default\"",
- "\"do\"",
- "\"extends\"",
- "\"for\"",
- "\"new\"",
- "\"return\"",
- "\"switch\"",
- "\"while\"",
- "\"endwhile\"",
- "\"endswitch\"",
- "\"endif\"",
- "\"endfor\"",
- "\"endforeach\"",
- "\"foreach\"",
- "\"as\"",
- "\"->\"",
- "\"::\"",
- "\"=>\"",
- "\"define\"",
- "\"goto\"",
- "\"null\"",
- "\"super\"",
- "\"this\"",
- "\"true\"",
- "\"false\"",
- "\"instanceof\"",
- "\"string\"",
- "\"object\"",
- "\"bool\"",
- "\"boolean\"",
- "\"real\"",
- "\"double\"",
- "\"float\"",
- "\"int\"",
- "\"integer\"",
- "\"@\"",
- "\"!\"",
- "\"~\"",
- "\"?\"",
- "\":\"",
- "\"||\"",
- "\"&&\"",
- "\"++\"",
- "\"--\"",
- "\"+\"",
- "\"-\"",
- "\"*\"",
- "\"/\"",
- "\"&\"",
- "\"|\"",
- "\"^\"",
- "\"%\"",
- "\"<<\"",
- "\">>\"",
- "\">>>\"",
- "\"OR\"",
- "\"XOR\"",
- "\"AND\"",
- "<INTEGER_LITERAL>",
- "<DECIMAL_LITERAL>",
- "<HEX_LITERAL>",
- "<OCTAL_LITERAL>",
- "<FLOATING_POINT_LITERAL>",
- "<EXPONENT>",
- "<STRING_LITERAL>",
- "<STRING_2>",
- "<STRING_3>",
- "<ESCAPED>",
- "\"\\\"\"",
- "\"$\"",
- "\"\\\"\"",
- "\"{\"",
- "\"{\"",
- "\"}\"",
- "<token of kind 130>",
- "\"}\"",
- "<ID>",
- "<token of kind 133>",
- "<token of kind 134>",
- "\"<<<\"",
- "\"$\"",
- "<IDENTIFIER>",
- "<LETTER>",
- "<DIGIT>",
- "<SPECIAL>",
- "<token of kind 141>",
- "\"(\"",
- "\")\"",
- "\"{\"",
- "\"}\"",
- "\"[\"",
- "\"]\"",
- "\";\"",
- "\",\"",
- "\".\"",
- "\">\"",
- "\"<\"",
- "\"==\"",
- "\"<=\"",
- "\">=\"",
- "\"!=\"",
- "\"<>\"",
- "\"!==\"",
- "\"===\"",
- "\"=\"",
- "\"+=\"",
- "\"-=\"",
- "\"*=\"",
- "\"/=\"",
- "\"&=\"",
- "\"|=\"",
- "\"^=\"",
- "\".=\"",
- "\"%=\"",
- "\"~=\"",
- "\"<<=\"",
- "\">>=\"",
- };
- }