001: /* Generated By:JavaCC: Do not edit this line. OscriptParserConstants.java */
002: package oscript.parser;
003:
004: public interface OscriptParserConstants {
005:
006: int EOF = 0;
007: int SINGLE_LINE_COMMENT = 10;
008: int FORMAL_COMMENT = 11;
009: int JAVADOC_TAG_WITH_ARG = 12;
010: int JAVADOC_TAG = 13;
011: int JAVADOC_TAG_ARG = 14;
012: int MULTI_LINE_COMMENT = 16;
013: int UNIX_SELF_EXECUTABLE_COMMENT = 17;
014: int BREAK = 19;
015: int CALLEE = 20;
016: int CATCH = 21;
017: int CONST = 22;
018: int CONTINUE = 23;
019: int DO = 24;
020: int DOTDOTDOT = 25;
021: int ELSE = 26;
022: int EXTENDS = 27;
023: int EVAL = 28;
024: int FALSE = 29;
025: int FINALLY = 30;
026: int FOR = 31;
027: int FUNCTION = 32;
028: int IF = 33;
029: int INSTANCEOF = 34;
030: int IMPORT = 35;
031: int MIXIN = 36;
032: int NEW = 37;
033: int NULL = 38;
034: int PRIVATE = 39;
035: int PROTECTED = 40;
036: int PUBLIC = 41;
037: int RETURN = 42;
038: int STATIC = 43;
039: int SUPER = 44;
040: int SYNCHRONIZED = 45;
041: int THIS = 46;
042: int THROW = 47;
043: int TRUE = 48;
044: int TRY = 49;
045: int UNDEFINED = 50;
046: int VAR = 51;
047: int VOID = 52;
048: int WHILE = 53;
049: int INTEGER_LITERAL = 54;
050: int DECIMAL_LITERAL = 55;
051: int HEX_LITERAL = 56;
052: int OCTAL_LITERAL = 57;
053: int BINARY_LITERAL = 58;
054: int FLOATING_POINT_LITERAL = 59;
055: int EXPONENT = 60;
056: int STRING_LITERAL = 61;
057: int ESCAPE_SEQUENCE = 62;
058: int REGEXP_LITERAL = 63;
059: int REGEXP_BODY = 64;
060: int REGEXP_ESCAPE_SEQUENCE = 65;
061: int REGEXP_FLAG = 66;
062: int IDENTIFIER = 67;
063: int LETTER = 68;
064: int DIGIT = 69;
065: int LPAREN = 70;
066: int RPAREN = 71;
067: int LFXNBRACE = 72;
068: int LBRACE = 73;
069: int RBRACE = 74;
070: int LBRACKET = 75;
071: int RBRACKET = 76;
072: int SEMICOLON = 77;
073: int COMMA = 78;
074: int DOT = 79;
075: int ASSIGN = 80;
076: int GT = 81;
077: int LT = 82;
078: int BANG = 83;
079: int TILDE = 84;
080: int HOOK = 85;
081: int COLON = 86;
082: int EQ = 87;
083: int LE = 88;
084: int GE = 89;
085: int NE = 90;
086: int SC_OR = 91;
087: int SC_AND = 92;
088: int INCR = 93;
089: int DECR = 94;
090: int PLUS = 95;
091: int MINUS = 96;
092: int STAR = 97;
093: int SLASH = 98;
094: int BIT_AND = 99;
095: int BIT_OR = 100;
096: int XOR = 101;
097: int REM = 102;
098: int LSHIFT = 103;
099: int RSIGNEDSHIFT = 104;
100: int RUNSIGNEDSHIFT = 105;
101: int PLUSASSIGN = 106;
102: int MINUSASSIGN = 107;
103: int STARASSIGN = 108;
104: int SLASHASSIGN = 109;
105: int ANDASSIGN = 110;
106: int ORASSIGN = 111;
107: int XORASSIGN = 112;
108: int REMASSIGN = 113;
109: int LSHIFTASSIGN = 114;
110: int RSIGNEDSHIFTASSIGN = 115;
111: int RUNSIGNEDSHIFTASSIGN = 116;
112:
113: int DEFAULT = 0;
114: int IN_SINGLE_LINE_COMMENT = 1;
115: int IN_FORMAL_COMMENT = 2;
116: int MAYBE_JAVADOC_TAG = 3;
117: int EXPECTING_JAVADOC_TAG_ARG = 4;
118: int IN_MULTI_LINE_COMMENT = 5;
119: int IN_UNIX_SELF_EXECUTABLE_COMMENT = 6;
120:
121: String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"",
122: "\"\\r\"", "\"\\f\"", "\"//\"", "<token of kind 7>",
123: "\"/*\"", "\"#!\"", "<SINGLE_LINE_COMMENT>",
124: "<FORMAL_COMMENT>", "<JAVADOC_TAG_WITH_ARG>", "\"return\"",
125: "<JAVADOC_TAG_ARG>", "<token of kind 15>", "\"*/\"",
126: "<UNIX_SELF_EXECUTABLE_COMMENT>", "<token of kind 18>",
127: "\"break\"", "\"callee\"", "\"catch\"", "\"const\"",
128: "\"continue\"", "\"do\"", "\"...\"", "\"else\"",
129: "\"extends\"", "\"eval\"", "\"false\"", "\"finally\"",
130: "\"for\"", "\"function\"", "\"if\"", "\"instanceof\"",
131: "\"import\"", "\"mixin\"", "\"new\"", "\"null\"",
132: "\"private\"", "\"protected\"", "\"public\"", "\"return\"",
133: "\"static\"", "\"super\"", "\"synchronized\"", "\"this\"",
134: "\"throw\"", "\"true\"", "\"try\"", "\"undefined\"",
135: "\"var\"", "\"void\"", "\"while\"", "<INTEGER_LITERAL>",
136: "<DECIMAL_LITERAL>", "<HEX_LITERAL>", "<OCTAL_LITERAL>",
137: "<BINARY_LITERAL>", "<FLOATING_POINT_LITERAL>",
138: "<EXPONENT>", "<STRING_LITERAL>", "<ESCAPE_SEQUENCE>",
139: "<REGEXP_LITERAL>", "<REGEXP_BODY>",
140: "<REGEXP_ESCAPE_SEQUENCE>", "<REGEXP_FLAG>",
141: "<IDENTIFIER>", "<LETTER>", "<DIGIT>", "\"(\"", "\")\"",
142: "\"\\\'{\"", "\"{\"", "\"}\"", "\"[\"", "\"]\"", "\";\"",
143: "\",\"", "\".\"", "\"=\"", "\">\"", "\"<\"", "\"!\"",
144: "\"~\"", "\"?\"", "\":\"", "\"==\"", "\"<=\"", "\">=\"",
145: "\"!=\"", "\"||\"", "\"&&\"", "\"++\"", "\"--\"", "\"+\"",
146: "\"-\"", "\"*\"", "\"/\"", "\"&\"", "\"|\"", "\"^\"",
147: "\"%\"", "\"<<\"", "\">>\"", "\">>>\"", "\"+=\"", "\"-=\"",
148: "\"*=\"", "\"/=\"", "\"&=\"", "\"|=\"", "\"^=\"", "\"%=\"",
149: "\"<<=\"", "\">>=\"", "\">>>=\"", "\"..\"", };
150:
151: }
|