001 /* Generated By:JavaCC: Do not edit this line. ParseCpslConstants.java */
002 package gate.jape.parser;
003
004 public interface ParseCpslConstants {
005
006 int EOF = 0;
007 int space = 1;
008 int spaces = 2;
009 int newline = 3;
010 int digits = 4;
011 int letter = 5;
012 int letterOrUnderscore = 6;
013 int letters = 7;
014 int lettersAndDigits = 8;
015 int letterOrDigitOrDash = 9;
016 int lettersAndDigitsAndDashes = 10;
017 int multiphase = 11;
018 int phases = 12;
019 int path = 13;
020 int phasesWhiteSpace = 14;
021 int phasesSingleLineCStyleComment = 15;
022 int phasesSingleLineCpslStyleComment = 16;
023 int phasesCommentStart = 17;
024 int phasesCommentChars = 18;
025 int phasesCommentEnd = 19;
026 int javaimport = 20;
027 int controllerstarted = 21;
028 int controllerfinished = 22;
029 int controlleraborted = 23;
030 int phase = 24;
031 int input = 25;
032 int option = 26;
033 int rule = 27;
034 int macro = 28;
035 int template = 29;
036 int priority = 30;
037 int pling = 31;
038 int kleeneOp = 32;
039 int attrOp = 33;
040 int metaPropOp = 34;
041 int integer = 35;
042 int string = 47;
043 int bool = 48;
044 int ident = 49;
045 int floatingPoint = 50;
046 int exponent = 51;
047 int colon = 52;
048 int semicolon = 53;
049 int period = 54;
050 int bar = 55;
051 int comma = 56;
052 int leftBrace = 57;
053 int rightBrace = 58;
054 int leftBracket = 59;
055 int rightBracket = 60;
056 int leftSquare = 61;
057 int rightSquare = 62;
058 int assign = 63;
059 int colonplus = 64;
060 int whiteSpace = 65;
061 int singleLineCStyleComment = 66;
062 int singleLineCpslStyleComment = 67;
063 int commentStart = 68;
064 int commentChars = 69;
065 int commentEnd = 70;
066 int other = 71;
067
068 int DEFAULT = 0;
069 int IN_PHASES = 1;
070 int PHASES_WITHIN_COMMENT = 2;
071 int IN_STRING = 3;
072 int WITHIN_COMMENT = 4;
073
074 String[] tokenImage = {
075 "<EOF>",
076 "<space>",
077 "<spaces>",
078 "<newline>",
079 "<digits>",
080 "<letter>",
081 "<letterOrUnderscore>",
082 "<letters>",
083 "<lettersAndDigits>",
084 "<letterOrDigitOrDash>",
085 "<lettersAndDigitsAndDashes>",
086 "\"Multiphase:\"",
087 "\"Phases:\"",
088 "<path>",
089 "<phasesWhiteSpace>",
090 "<phasesSingleLineCStyleComment>",
091 "<phasesSingleLineCpslStyleComment>",
092 "<phasesCommentStart>",
093 "<phasesCommentChars>",
094 "<phasesCommentEnd>",
095 "\"Imports:\"",
096 "\"ControllerStarted:\"",
097 "\"ControllerFinished:\"",
098 "\"ControllerAborted:\"",
099 "\"Phase:\"",
100 "\"Input:\"",
101 "\"Options:\"",
102 "\"Rule:\"",
103 "\"Macro:\"",
104 "\"Template:\"",
105 "\"Priority:\"",
106 "\"!\"",
107 "<kleeneOp>",
108 "<attrOp>",
109 "\"@\"",
110 "<integer>",
111 "\"\\\"\"",
112 "\"\\\\n\"",
113 "\"\\\\r\"",
114 "\"\\\\t\"",
115 "\"\\\\b\"",
116 "\"\\\\f\"",
117 "\"\\\\\\\"\"",
118 "\"\\\\\\\'\"",
119 "\"\\\\\\\\\"",
120 "<token of kind 45>",
121 "<token of kind 46>",
122 "\"\\\"\"",
123 "<bool>",
124 "<ident>",
125 "<floatingPoint>",
126 "<exponent>",
127 "\":\"",
128 "\";\"",
129 "\".\"",
130 "\"|\"",
131 "\",\"",
132 "\"{\"",
133 "\"}\"",
134 "\"(\"",
135 "\")\"",
136 "\"[\"",
137 "\"]\"",
138 "\"=\"",
139 "\":+\"",
140 "<whiteSpace>",
141 "<singleLineCStyleComment>",
142 "<singleLineCpslStyleComment>",
143 "<commentStart>",
144 "<commentChars>",
145 "<commentEnd>",
146 "<other>",
147 "\"-->\"",
148 };
149
150 }
|