1 /* This file was generated by SableCC (http://www.sablecc.org/). */ 2 3 package com.google.clearsilver.jsilver.syntax.parser; 4 5 import com.google.clearsilver.jsilver.syntax.node.*; 6 import com.google.clearsilver.jsilver.syntax.analysis.*; 7 8 class TokenIndex extends AnalysisAdapter 9 { 10 int index; 11 12 @Override caseTData(@uppressWarnings"unused") TData node)13 public void caseTData(@SuppressWarnings("unused") TData node) 14 { 15 this.index = 0; 16 } 17 18 @Override caseTComment(@uppressWarnings"unused") TComment node)19 public void caseTComment(@SuppressWarnings("unused") TComment node) 20 { 21 this.index = 1; 22 } 23 24 @Override caseTVar(@uppressWarnings"unused") TVar node)25 public void caseTVar(@SuppressWarnings("unused") TVar node) 26 { 27 this.index = 2; 28 } 29 30 @Override caseTLvar(@uppressWarnings"unused") TLvar node)31 public void caseTLvar(@SuppressWarnings("unused") TLvar node) 32 { 33 this.index = 3; 34 } 35 36 @Override caseTEvar(@uppressWarnings"unused") TEvar node)37 public void caseTEvar(@SuppressWarnings("unused") TEvar node) 38 { 39 this.index = 4; 40 } 41 42 @Override caseTUvar(@uppressWarnings"unused") TUvar node)43 public void caseTUvar(@SuppressWarnings("unused") TUvar node) 44 { 45 this.index = 5; 46 } 47 48 @Override caseTSet(@uppressWarnings"unused") TSet node)49 public void caseTSet(@SuppressWarnings("unused") TSet node) 50 { 51 this.index = 6; 52 } 53 54 @Override caseTIf(@uppressWarnings"unused") TIf node)55 public void caseTIf(@SuppressWarnings("unused") TIf node) 56 { 57 this.index = 7; 58 } 59 60 @Override caseTElseIf(@uppressWarnings"unused") TElseIf node)61 public void caseTElseIf(@SuppressWarnings("unused") TElseIf node) 62 { 63 this.index = 8; 64 } 65 66 @Override caseTElse(@uppressWarnings"unused") TElse node)67 public void caseTElse(@SuppressWarnings("unused") TElse node) 68 { 69 this.index = 9; 70 } 71 72 @Override caseTWith(@uppressWarnings"unused") TWith node)73 public void caseTWith(@SuppressWarnings("unused") TWith node) 74 { 75 this.index = 10; 76 } 77 78 @Override caseTEscape(@uppressWarnings"unused") TEscape node)79 public void caseTEscape(@SuppressWarnings("unused") TEscape node) 80 { 81 this.index = 11; 82 } 83 84 @Override caseTAutoescape(@uppressWarnings"unused") TAutoescape node)85 public void caseTAutoescape(@SuppressWarnings("unused") TAutoescape node) 86 { 87 this.index = 12; 88 } 89 90 @Override caseTLoop(@uppressWarnings"unused") TLoop node)91 public void caseTLoop(@SuppressWarnings("unused") TLoop node) 92 { 93 this.index = 13; 94 } 95 96 @Override caseTEach(@uppressWarnings"unused") TEach node)97 public void caseTEach(@SuppressWarnings("unused") TEach node) 98 { 99 this.index = 14; 100 } 101 102 @Override caseTAlt(@uppressWarnings"unused") TAlt node)103 public void caseTAlt(@SuppressWarnings("unused") TAlt node) 104 { 105 this.index = 15; 106 } 107 108 @Override caseTName(@uppressWarnings"unused") TName node)109 public void caseTName(@SuppressWarnings("unused") TName node) 110 { 111 this.index = 16; 112 } 113 114 @Override caseTDef(@uppressWarnings"unused") TDef node)115 public void caseTDef(@SuppressWarnings("unused") TDef node) 116 { 117 this.index = 17; 118 } 119 120 @Override caseTCall(@uppressWarnings"unused") TCall node)121 public void caseTCall(@SuppressWarnings("unused") TCall node) 122 { 123 this.index = 18; 124 } 125 126 @Override caseTInclude(@uppressWarnings"unused") TInclude node)127 public void caseTInclude(@SuppressWarnings("unused") TInclude node) 128 { 129 this.index = 19; 130 } 131 132 @Override caseTLinclude(@uppressWarnings"unused") TLinclude node)133 public void caseTLinclude(@SuppressWarnings("unused") TLinclude node) 134 { 135 this.index = 20; 136 } 137 138 @Override caseTContentType(@uppressWarnings"unused") TContentType node)139 public void caseTContentType(@SuppressWarnings("unused") TContentType node) 140 { 141 this.index = 21; 142 } 143 144 @Override caseTInline(@uppressWarnings"unused") TInline node)145 public void caseTInline(@SuppressWarnings("unused") TInline node) 146 { 147 this.index = 22; 148 } 149 150 @Override caseTComma(@uppressWarnings"unused") TComma node)151 public void caseTComma(@SuppressWarnings("unused") TComma node) 152 { 153 this.index = 23; 154 } 155 156 @Override caseTBang(@uppressWarnings"unused") TBang node)157 public void caseTBang(@SuppressWarnings("unused") TBang node) 158 { 159 this.index = 24; 160 } 161 162 @Override caseTAssignment(@uppressWarnings"unused") TAssignment node)163 public void caseTAssignment(@SuppressWarnings("unused") TAssignment node) 164 { 165 this.index = 25; 166 } 167 168 @Override caseTEq(@uppressWarnings"unused") TEq node)169 public void caseTEq(@SuppressWarnings("unused") TEq node) 170 { 171 this.index = 26; 172 } 173 174 @Override caseTNe(@uppressWarnings"unused") TNe node)175 public void caseTNe(@SuppressWarnings("unused") TNe node) 176 { 177 this.index = 27; 178 } 179 180 @Override caseTLt(@uppressWarnings"unused") TLt node)181 public void caseTLt(@SuppressWarnings("unused") TLt node) 182 { 183 this.index = 28; 184 } 185 186 @Override caseTGt(@uppressWarnings"unused") TGt node)187 public void caseTGt(@SuppressWarnings("unused") TGt node) 188 { 189 this.index = 29; 190 } 191 192 @Override caseTLte(@uppressWarnings"unused") TLte node)193 public void caseTLte(@SuppressWarnings("unused") TLte node) 194 { 195 this.index = 30; 196 } 197 198 @Override caseTGte(@uppressWarnings"unused") TGte node)199 public void caseTGte(@SuppressWarnings("unused") TGte node) 200 { 201 this.index = 31; 202 } 203 204 @Override caseTAnd(@uppressWarnings"unused") TAnd node)205 public void caseTAnd(@SuppressWarnings("unused") TAnd node) 206 { 207 this.index = 32; 208 } 209 210 @Override caseTOr(@uppressWarnings"unused") TOr node)211 public void caseTOr(@SuppressWarnings("unused") TOr node) 212 { 213 this.index = 33; 214 } 215 216 @Override caseTString(@uppressWarnings"unused") TString node)217 public void caseTString(@SuppressWarnings("unused") TString node) 218 { 219 this.index = 34; 220 } 221 222 @Override caseTHash(@uppressWarnings"unused") THash node)223 public void caseTHash(@SuppressWarnings("unused") THash node) 224 { 225 this.index = 35; 226 } 227 228 @Override caseTPlus(@uppressWarnings"unused") TPlus node)229 public void caseTPlus(@SuppressWarnings("unused") TPlus node) 230 { 231 this.index = 36; 232 } 233 234 @Override caseTMinus(@uppressWarnings"unused") TMinus node)235 public void caseTMinus(@SuppressWarnings("unused") TMinus node) 236 { 237 this.index = 37; 238 } 239 240 @Override caseTStar(@uppressWarnings"unused") TStar node)241 public void caseTStar(@SuppressWarnings("unused") TStar node) 242 { 243 this.index = 38; 244 } 245 246 @Override caseTPercent(@uppressWarnings"unused") TPercent node)247 public void caseTPercent(@SuppressWarnings("unused") TPercent node) 248 { 249 this.index = 39; 250 } 251 252 @Override caseTBracketOpen(@uppressWarnings"unused") TBracketOpen node)253 public void caseTBracketOpen(@SuppressWarnings("unused") TBracketOpen node) 254 { 255 this.index = 40; 256 } 257 258 @Override caseTBracketClose(@uppressWarnings"unused") TBracketClose node)259 public void caseTBracketClose(@SuppressWarnings("unused") TBracketClose node) 260 { 261 this.index = 41; 262 } 263 264 @Override caseTParenOpen(@uppressWarnings"unused") TParenOpen node)265 public void caseTParenOpen(@SuppressWarnings("unused") TParenOpen node) 266 { 267 this.index = 42; 268 } 269 270 @Override caseTParenClose(@uppressWarnings"unused") TParenClose node)271 public void caseTParenClose(@SuppressWarnings("unused") TParenClose node) 272 { 273 this.index = 43; 274 } 275 276 @Override caseTDot(@uppressWarnings"unused") TDot node)277 public void caseTDot(@SuppressWarnings("unused") TDot node) 278 { 279 this.index = 44; 280 } 281 282 @Override caseTDollar(@uppressWarnings"unused") TDollar node)283 public void caseTDollar(@SuppressWarnings("unused") TDollar node) 284 { 285 this.index = 45; 286 } 287 288 @Override caseTQuestion(@uppressWarnings"unused") TQuestion node)289 public void caseTQuestion(@SuppressWarnings("unused") TQuestion node) 290 { 291 this.index = 46; 292 } 293 294 @Override caseTDecNumber(@uppressWarnings"unused") TDecNumber node)295 public void caseTDecNumber(@SuppressWarnings("unused") TDecNumber node) 296 { 297 this.index = 47; 298 } 299 300 @Override caseTHexNumber(@uppressWarnings"unused") THexNumber node)301 public void caseTHexNumber(@SuppressWarnings("unused") THexNumber node) 302 { 303 this.index = 48; 304 } 305 306 @Override caseTWord(@uppressWarnings"unused") TWord node)307 public void caseTWord(@SuppressWarnings("unused") TWord node) 308 { 309 this.index = 49; 310 } 311 312 @Override caseTSlash(@uppressWarnings"unused") TSlash node)313 public void caseTSlash(@SuppressWarnings("unused") TSlash node) 314 { 315 this.index = 50; 316 } 317 318 @Override caseTCsOpen(@uppressWarnings"unused") TCsOpen node)319 public void caseTCsOpen(@SuppressWarnings("unused") TCsOpen node) 320 { 321 this.index = 51; 322 } 323 324 @Override caseTCommentStart(@uppressWarnings"unused") TCommentStart node)325 public void caseTCommentStart(@SuppressWarnings("unused") TCommentStart node) 326 { 327 this.index = 52; 328 } 329 330 @Override caseTCommandDelimiter(@uppressWarnings"unused") TCommandDelimiter node)331 public void caseTCommandDelimiter(@SuppressWarnings("unused") TCommandDelimiter node) 332 { 333 this.index = 53; 334 } 335 336 @Override caseTHardDelimiter(@uppressWarnings"unused") THardDelimiter node)337 public void caseTHardDelimiter(@SuppressWarnings("unused") THardDelimiter node) 338 { 339 this.index = 54; 340 } 341 342 @Override caseTCsClose(@uppressWarnings"unused") TCsClose node)343 public void caseTCsClose(@SuppressWarnings("unused") TCsClose node) 344 { 345 this.index = 55; 346 } 347 348 @Override caseEOF(@uppressWarnings"unused") EOF node)349 public void caseEOF(@SuppressWarnings("unused") EOF node) 350 { 351 this.index = 56; 352 } 353 } 354