001: /* Generated By:JavaCC: Do not edit this line. CPPParserConstants.java */
002: package org.acm.seguin.pmd.cpd.cppast;
003:
004: public interface CPPParserConstants {
005:
006: int EOF = 0;
007: int LCURLYBRACE = 14;
008: int RCURLYBRACE = 15;
009: int LSQUAREBRACKET = 16;
010: int RSQUAREBRACKET = 17;
011: int LPARENTHESIS = 18;
012: int RPARENTHESIS = 19;
013: int SCOPE = 20;
014: int COLON = 21;
015: int SEMICOLON = 22;
016: int COMMA = 23;
017: int QUESTIONMARK = 24;
018: int ELLIPSIS = 25;
019: int ASSIGNEQUAL = 26;
020: int TIMESEQUAL = 27;
021: int DIVIDEEQUAL = 28;
022: int MODEQUAL = 29;
023: int PLUSEQUAL = 30;
024: int MINUSEQUAL = 31;
025: int SHIFTLEFTEQUAL = 32;
026: int SHIFTRIGHTEQUAL = 33;
027: int BITWISEANDEQUAL = 34;
028: int BITWISEXOREQUAL = 35;
029: int BITWISEOREQUAL = 36;
030: int OR = 37;
031: int AND = 38;
032: int BITWISEOR = 39;
033: int BITWISEXOR = 40;
034: int AMPERSAND = 41;
035: int EQUAL = 42;
036: int NOTEQUAL = 43;
037: int LESSTHAN = 44;
038: int GREATERTHAN = 45;
039: int LESSTHANOREQUALTO = 46;
040: int GREATERTHANOREQUALTO = 47;
041: int SHIFTLEFT = 48;
042: int SHIFTRIGHT = 49;
043: int PLUS = 50;
044: int MINUS = 51;
045: int STAR = 52;
046: int DIVIDE = 53;
047: int MOD = 54;
048: int PLUSPLUS = 55;
049: int MINUSMINUS = 56;
050: int TILDE = 57;
051: int NOT = 58;
052: int DOT = 59;
053: int POINTERTO = 60;
054: int DOTSTAR = 61;
055: int ARROWSTAR = 62;
056: int AUTO = 63;
057: int BREAK = 64;
058: int CASE = 65;
059: int CATCH = 66;
060: int CHAR = 67;
061: int CONST = 68;
062: int CONTINUE = 69;
063: int _DEFAULT = 70;
064: int DELETE = 71;
065: int DO = 72;
066: int DOUBLE = 73;
067: int ELSE = 74;
068: int ENUM = 75;
069: int EXTERN = 76;
070: int FLOAT = 77;
071: int FOR = 78;
072: int FRIEND = 79;
073: int GOTO = 80;
074: int IF = 81;
075: int INLINE = 82;
076: int INT = 83;
077: int LONG = 84;
078: int NEW = 85;
079: int PRIVATE = 86;
080: int PROTECTED = 87;
081: int PUBLIC = 88;
082: int REDECLARED = 89;
083: int REGISTER = 90;
084: int RETURN = 91;
085: int SHORT = 92;
086: int SIGNED = 93;
087: int SIZEOF = 94;
088: int STATIC = 95;
089: int STRUCT = 96;
090: int CLASS = 97;
091: int SWITCH = 98;
092: int TEMPLATE = 99;
093: int THIS = 100;
094: int TRY = 101;
095: int TYPEDEF = 102;
096: int UNION = 103;
097: int UNSIGNED = 104;
098: int VIRTUAL = 105;
099: int VOID = 106;
100: int VOLATILE = 107;
101: int WHILE = 108;
102: int OPERATOR = 109;
103: int TRUETOK = 110;
104: int FALSETOK = 111;
105: int THROW = 112;
106: int OCTALINT = 113;
107: int OCTALLONG = 114;
108: int UNSIGNED_OCTALINT = 115;
109: int UNSIGNED_OCTALLONG = 116;
110: int DECIMALINT = 117;
111: int DECIMALLONG = 118;
112: int UNSIGNED_DECIMALINT = 119;
113: int UNSIGNED_DECIMALLONG = 120;
114: int HEXADECIMALINT = 121;
115: int HEXADECIMALLONG = 122;
116: int UNSIGNED_HEXADECIMALINT = 123;
117: int UNSIGNED_HEXADECIMALLONG = 124;
118: int FLOATONE = 125;
119: int FLOATTWO = 126;
120: int CHARACTER = 127;
121: int STRING = 128;
122: int ID = 130;
123:
124: int DEFAULT = 0;
125: int IN_LINE_COMMENT = 1;
126: int IN_COMMENT = 2;
127: int PREPROCESSOR_OUTPUT = 3;
128:
129: String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\r\\n\"",
130: "\"\\n\"", "\"//\"", "\"/*\"", "\"#\"", "\"\\n\"",
131: "<token of kind 9>", "\"*/\"", "<token of kind 11>",
132: "\"\\n\"", "<token of kind 13>", "\"{\"", "\"}\"", "\"[\"",
133: "\"]\"", "\"(\"", "\")\"", "\"::\"", "\":\"", "\";\"",
134: "\",\"", "\"?\"", "\"...\"", "\"=\"", "\"*=\"", "\"/=\"",
135: "\"%=\"", "\"+=\"", "\"-=\"", "\"<<=\"", "\">>=\"",
136: "\"&=\"", "\"^=\"", "\"|=\"", "\"||\"", "\"&&\"", "\"|\"",
137: "\"^\"", "\"&\"", "\"==\"", "\"!=\"", "\"<\"", "\">\"",
138: "\"<=\"", "\">=\"", "\"<<\"", "\">>\"", "\"+\"", "\"-\"",
139: "\"*\"", "\"/\"", "\"%\"", "\"++\"", "\"--\"", "\"~\"",
140: "\"!\"", "\".\"", "\"->\"", "\".*\"", "\"->*\"",
141: "\"auto\"", "\"break\"", "\"case\"", "\"catch\"",
142: "\"char\"", "\"const\"", "\"continue\"", "\"default\"",
143: "\"delete\"", "\"do\"", "\"double\"", "\"else\"",
144: "\"enum\"", "\"extern\"", "\"float\"", "\"for\"",
145: "\"friend\"", "\"goto\"", "\"if\"", "\"inline\"",
146: "\"int\"", "\"long\"", "\"new\"", "\"private\"",
147: "\"protected\"", "\"public\"", "\"redeclared\"",
148: "\"register\"", "\"return\"", "\"short\"", "\"signed\"",
149: "\"sizeof\"", "\"static\"", "\"struct\"", "\"class\"",
150: "\"switch\"", "\"template\"", "\"this\"", "\"try\"",
151: "\"typedef\"", "\"union\"", "\"unsigned\"", "\"virtual\"",
152: "\"void\"", "\"volatile\"", "\"while\"", "\"operator\"",
153: "\"true\"", "\"false\"", "\"throw\"", "<OCTALINT>",
154: "<OCTALLONG>", "<UNSIGNED_OCTALINT>",
155: "<UNSIGNED_OCTALLONG>", "<DECIMALINT>", "<DECIMALLONG>",
156: "<UNSIGNED_DECIMALINT>", "<UNSIGNED_DECIMALLONG>",
157: "<HEXADECIMALINT>", "<HEXADECIMALLONG>",
158: "<UNSIGNED_HEXADECIMALINT>", "<UNSIGNED_HEXADECIMALLONG>",
159: "<FLOATONE>", "<FLOATTWO>", "<CHARACTER>", "<STRING>",
160: "\"finally\"", "<ID>", };
161:
162: }
|