Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

TokenIndex.java

00001 package edu.ksu.cis.bandera.jjjc.parser;
00002 
00003 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00004  * Bandera, a Java(TM) analysis and transformation toolkit           *
00005  * Copyright (C) 1998-2001 SAnToS Laboratories (santos@cis.ksu.edu)  *
00006 
00007  * All rights reserved.                                              *
00008  *                                                                   *
00009  * This work was done as a project in the SAnToS Laboratory,         *
00010  * Department of Computing and Information Sciences, Kansas State    *
00011  * University, USA (http://www.cis.ksu.edu/santos).                  *
00012  * It is understood that any modification not identified as such is  *
00013  * not covered by the preceding statement.                           *
00014  *                                                                   *
00015  * This work is free software; you can redistribute it and/or        *
00016  * modify it under the terms of the GNU Library General Public       *
00017  * License as published by the Free Software Foundation; either      *
00018  * version 2 of the License, or (at your option) any later version.  *
00019  *                                                                   *
00020  * This work is distributed in the hope that it will be useful,      *
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of    *
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU *
00023  * Library General Public License for more details.                  *
00024  *                                                                   *
00025  * You should have received a copy of the GNU Library General Public *
00026  * License along with this toolkit; if not, write to the             *
00027  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,      *
00028  * Boston, MA  02111-1307, USA.                                      *
00029  *                                                                   *
00030  * Java is a trademark of Sun Microsystems, Inc.                     *
00031  *                                                                   *
00032  * To submit a bug report, send a comment, or get the latest news on *
00033  * this project and other SAnToS projects, please visit the web-site *
00034  *                http://www.cis.ksu.edu/santos                      *
00035  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00036 import edu.ksu.cis.bandera.jjjc.node.*;
00037 import edu.ksu.cis.bandera.jjjc.analysis.*;
00038 
00039 class TokenIndex extends AnalysisAdapter
00040 {
00041     int index;
00042 
00043     public void caseEOF(EOF node)
00044     {
00045         index = 103;
00046     }
00047     public void caseTAbstract(TAbstract node)
00048     {
00049         index = 0;
00050     }
00051     public void caseTAnd(TAnd node)
00052     {
00053         index = 70;
00054     }
00055     public void caseTAssign(TAssign node)
00056     {
00057         index = 59;
00058     }
00059     public void caseTBitAnd(TBitAnd node)
00060     {
00061         index = 78;
00062     }
00063     public void caseTBitAndAssign(TBitAndAssign node)
00064     {
00065         index = 89;
00066     }
00067     public void caseTBitComplement(TBitComplement node)
00068     {
00069         index = 63;
00070     }
00071     public void caseTBitOr(TBitOr node)
00072     {
00073         index = 79;
00074     }
00075     public void caseTBitOrAssign(TBitOrAssign node)
00076     {
00077         index = 90;
00078     }
00079     public void caseTBitXor(TBitXor node)
00080     {
00081         index = 80;
00082     }
00083     public void caseTBitXorAssign(TBitXorAssign node)
00084     {
00085         index = 91;
00086     }
00087     public void caseTBoolean(TBoolean node)
00088     {
00089         index = 5;
00090     }
00091     public void caseTBreak(TBreak node)
00092     {
00093         index = 10;
00094     }
00095     public void caseTByte(TByte node)
00096     {
00097         index = 15;
00098     }
00099     public void caseTCase(TCase node)
00100     {
00101         index = 20;
00102     }
00103     public void caseTCatch(TCatch node)
00104     {
00105         index = 25;
00106     }
00107     public void caseTChar(TChar node)
00108     {
00109         index = 30;
00110     }
00111     public void caseTCharacterLiteral(TCharacterLiteral node)
00112     {
00113         index = 100;
00114     }
00115     public void caseTClass(TClass node)
00116     {
00117         index = 35;
00118     }
00119     public void caseTColon(TColon node)
00120     {
00121         index = 65;
00122     }
00123     public void caseTComma(TComma node)
00124     {
00125         index = 57;
00126     }
00127     public void caseTComplement(TComplement node)
00128     {
00129         index = 62;
00130     }
00131     public void caseTConst(TConst node)
00132     {
00133         index = 39;
00134     }
00135     public void caseTContinue(TContinue node)
00136     {
00137         index = 43;
00138     }
00139     public void caseTDecimalIntegerLiteral(TDecimalIntegerLiteral node)
00140     {
00141         index = 96;
00142     }
00143     public void caseTDefault(TDefault node)
00144     {
00145         index = 1;
00146     }
00147     public void caseTDiv(TDiv node)
00148     {
00149         index = 77;
00150     }
00151     public void caseTDivAssign(TDivAssign node)
00152     {
00153         index = 88;
00154     }
00155     public void caseTDo(TDo node)
00156     {
00157         index = 6;
00158     }
00159     public void caseTDot(TDot node)
00160     {
00161         index = 58;
00162     }
00163     public void caseTDouble(TDouble node)
00164     {
00165         index = 11;
00166     }
00167     public void caseTElse(TElse node)
00168     {
00169         index = 16;
00170     }
00171     public void caseTEq(TEq node)
00172     {
00173         index = 66;
00174     }
00175     public void caseTExtends(TExtends node)
00176     {
00177         index = 21;
00178     }
00179     public void caseTFalse(TFalse node)
00180     {
00181         index = 48;
00182     }
00183     public void caseTFinal(TFinal node)
00184     {
00185         index = 26;
00186     }
00187     public void caseTFinally(TFinally node)
00188     {
00189         index = 31;
00190     }
00191     public void caseTFloat(TFloat node)
00192     {
00193         index = 36;
00194     }
00195     public void caseTFloatingPointLiteral(TFloatingPointLiteral node)
00196     {
00197         index = 99;
00198     }
00199     public void caseTFor(TFor node)
00200     {
00201         index = 40;
00202     }
00203     public void caseTGoto(TGoto node)
00204     {
00205         index = 44;
00206     }
00207     public void caseTGt(TGt node)
00208     {
00209         index = 61;
00210     }
00211     public void caseTGteq(TGteq node)
00212     {
00213         index = 68;
00214     }
00215     public void caseTHexIntegerLiteral(THexIntegerLiteral node)
00216     {
00217         index = 97;
00218     }
00219     public void caseTId(TId node)
00220     {
00221         index = 102;
00222     }
00223     public void caseTIf(TIf node)
00224     {
00225         index = 2;
00226     }
00227     public void caseTImplements(TImplements node)
00228     {
00229         index = 7;
00230     }
00231     public void caseTImport(TImport node)
00232     {
00233         index = 12;
00234     }
00235     public void caseTInstanceof(TInstanceof node)
00236     {
00237         index = 17;
00238     }
00239     public void caseTInt(TInt node)
00240     {
00241         index = 22;
00242     }
00243     public void caseTInterface(TInterface node)
00244     {
00245         index = 27;
00246     }
00247     public void caseTLBrace(TLBrace node)
00248     {
00249         index = 52;
00250     }
00251     public void caseTLBracket(TLBracket node)
00252     {
00253         index = 54;
00254     }
00255     public void caseTLong(TLong node)
00256     {
00257         index = 32;
00258     }
00259     public void caseTLPar(TLPar node)
00260     {
00261         index = 50;
00262     }
00263     public void caseTLt(TLt node)
00264     {
00265         index = 60;
00266     }
00267     public void caseTLteq(TLteq node)
00268     {
00269         index = 67;
00270     }
00271     public void caseTMinus(TMinus node)
00272     {
00273         index = 75;
00274     }
00275     public void caseTMinusAssign(TMinusAssign node)
00276     {
00277         index = 86;
00278     }
00279     public void caseTMinusMinus(TMinusMinus node)
00280     {
00281         index = 73;
00282     }
00283     public void caseTMod(TMod node)
00284     {
00285         index = 81;
00286     }
00287     public void caseTModAssign(TModAssign node)
00288     {
00289         index = 92;
00290     }
00291     public void caseTNative(TNative node)
00292     {
00293         index = 37;
00294     }
00295     public void caseTNeq(TNeq node)
00296     {
00297         index = 69;
00298     }
00299     public void caseTNew(TNew node)
00300     {
00301         index = 41;
00302     }
00303     public void caseTNull(TNull node)
00304     {
00305         index = 49;
00306     }
00307     public void caseTOctalIntegerLiteral(TOctalIntegerLiteral node)
00308     {
00309         index = 98;
00310     }
00311     public void caseTOr(TOr node)
00312     {
00313         index = 71;
00314     }
00315     public void caseTPackage(TPackage node)
00316     {
00317         index = 45;
00318     }
00319     public void caseTPlus(TPlus node)
00320     {
00321         index = 74;
00322     }
00323     public void caseTPlusAssign(TPlusAssign node)
00324     {
00325         index = 85;
00326     }
00327     public void caseTPlusPlus(TPlusPlus node)
00328     {
00329         index = 72;
00330     }
00331     public void caseTPrivate(TPrivate node)
00332     {
00333         index = 3;
00334     }
00335     public void caseTProtected(TProtected node)
00336     {
00337         index = 8;
00338     }
00339     public void caseTPublic(TPublic node)
00340     {
00341         index = 13;
00342     }
00343     public void caseTQuestion(TQuestion node)
00344     {
00345         index = 64;
00346     }
00347     public void caseTRBrace(TRBrace node)
00348     {
00349         index = 53;
00350     }
00351     public void caseTRBracket(TRBracket node)
00352     {
00353         index = 55;
00354     }
00355     public void caseTReturn(TReturn node)
00356     {
00357         index = 18;
00358     }
00359     public void caseTRPar(TRPar node)
00360     {
00361         index = 51;
00362     }
00363     public void caseTSemicolon(TSemicolon node)
00364     {
00365         index = 56;
00366     }
00367     public void caseTShiftLeft(TShiftLeft node)
00368     {
00369         index = 82;
00370     }
00371     public void caseTShiftLeftAssign(TShiftLeftAssign node)
00372     {
00373         index = 93;
00374     }
00375     public void caseTShort(TShort node)
00376     {
00377         index = 23;
00378     }
00379     public void caseTSignedShiftRight(TSignedShiftRight node)
00380     {
00381         index = 83;
00382     }
00383     public void caseTSignedShiftRightAssign(TSignedShiftRightAssign node)
00384     {
00385         index = 94;
00386     }
00387     public void caseTStar(TStar node)
00388     {
00389         index = 76;
00390     }
00391     public void caseTStarAssign(TStarAssign node)
00392     {
00393         index = 87;
00394     }
00395     public void caseTStatic(TStatic node)
00396     {
00397         index = 28;
00398     }
00399     public void caseTStringLiteral(TStringLiteral node)
00400     {
00401         index = 101;
00402     }
00403     public void caseTSuper(TSuper node)
00404     {
00405         index = 33;
00406     }
00407     public void caseTSwitch(TSwitch node)
00408     {
00409         index = 38;
00410     }
00411     public void caseTSynchronized(TSynchronized node)
00412     {
00413         index = 42;
00414     }
00415     public void caseTThis(TThis node)
00416     {
00417         index = 46;
00418     }
00419     public void caseTThrow(TThrow node)
00420     {
00421         index = 4;
00422     }
00423     public void caseTThrows(TThrows node)
00424     {
00425         index = 9;
00426     }
00427     public void caseTTransient(TTransient node)
00428     {
00429         index = 14;
00430     }
00431     public void caseTTrue(TTrue node)
00432     {
00433         index = 47;
00434     }
00435     public void caseTTry(TTry node)
00436     {
00437         index = 19;
00438     }
00439     public void caseTUnsignedShiftRight(TUnsignedShiftRight node)
00440     {
00441         index = 84;
00442     }
00443     public void caseTUnsignedShiftRightAssign(TUnsignedShiftRightAssign node)
00444     {
00445         index = 95;
00446     }
00447     public void caseTVoid(TVoid node)
00448     {
00449         index = 24;
00450     }
00451     public void caseTVolatile(TVolatile node)
00452     {
00453         index = 29;
00454     }
00455     public void caseTWhile(TWhile node)
00456     {
00457         index = 34;
00458     }
00459 }

Generated at Thu Feb 7 06:57:41 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001