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

TokenIndex.java

00001 package edu.ksu.cis.bandera.birp.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.birp.node.*;
00037 import edu.ksu.cis.bandera.birp.analysis.*;
00038 
00039 class TokenIndex extends AnalysisAdapter
00040 {
00041     int index;
00042 
00043     public void caseEOF(EOF node)
00044     {
00045         index = 74;
00046     }
00047     public void caseTAnd(TAnd node)
00048     {
00049         index = 18;
00050     }
00051     public void caseTArray(TArray node)
00052     {
00053         index = 38;
00054     }
00055     public void caseTAssert(TAssert node)
00056     {
00057         index = 29;
00058     }
00059     public void caseTAssign(TAssign node)
00060     {
00061         index = 28;
00062     }
00063     public void caseTAt(TAt node)
00064     {
00065         index = 9;
00066     }
00067     public void caseTBar(TBar node)
00068     {
00069         index = 8;
00070     }
00071     public void caseTBoolean(TBoolean node)
00072     {
00073         index = 30;
00074     }
00075     public void caseTChoose(TChoose node)
00076     {
00077         index = 65;
00078     }
00079     public void caseTCollection(TCollection node)
00080     {
00081         index = 43;
00082     }
00083     public void caseTColon(TColon node)
00084     {
00085         index = 1;
00086     }
00087     public void caseTComma(TComma node)
00088     {
00089         index = 10;
00090     }
00091     public void caseTDiv(TDiv node)
00092     {
00093         index = 16;
00094     }
00095     public void caseTDo(TDo node)
00096     {
00097         index = 53;
00098     }
00099     public void caseTDot(TDot node)
00100     {
00101         index = 11;
00102     }
00103     public void caseTDotdot(TDotdot node)
00104     {
00105         index = 12;
00106     }
00107     public void caseTEnd(TEnd node)
00108     {
00109         index = 34;
00110     }
00111     public void caseTEnum(TEnum node)
00112     {
00113         index = 47;
00114     }
00115     public void caseTEq(TEq node)
00116     {
00117         index = 20;
00118     }
00119     public void caseTEquals(TEquals node)
00120     {
00121         index = 21;
00122     }
00123     public void caseTExit(TExit node)
00124     {
00125         index = 64;
00126     }
00127     public void caseTFalse(TFalse node)
00128     {
00129         index = 32;
00130     }
00131     public void caseTGe(TGe node)
00132     {
00133         index = 27;
00134     }
00135     public void caseTGoto(TGoto node)
00136     {
00137         index = 55;
00138     }
00139     public void caseTGt(TGt node)
00140     {
00141         index = 25;
00142     }
00143     public void caseTHaslock(THaslock node)
00144     {
00145         index = 67;
00146     }
00147     public void caseTId(TId node)
00148     {
00149         index = 71;
00150     }
00151     public void caseTInstanceof(TInstanceof node)
00152     {
00153         index = 41;
00154     }
00155     public void caseTInt(TInt node)
00156     {
00157         index = 72;
00158     }
00159     public void caseTInvisible(TInvisible node)
00160     {
00161         index = 54;
00162     }
00163     public void caseTJoin(TJoin node)
00164     {
00165         index = 63;
00166     }
00167     public void caseTLbrace(TLbrace node)
00168     {
00169         index = 2;
00170     }
00171     public void caseTLbrack(TLbrack node)
00172     {
00173         index = 6;
00174     }
00175     public void caseTLe(TLe node)
00176     {
00177         index = 26;
00178     }
00179     public void caseTLength(TLength node)
00180     {
00181         index = 40;
00182     }
00183     public void caseTLive(TLive node)
00184     {
00185         index = 51;
00186     }
00187     public void caseTLoc(TLoc node)
00188     {
00189         index = 50;
00190     }
00191     public void caseTLock(TLock node)
00192     {
00193         index = 36;
00194     }
00195     public void caseTLockavailable(TLockavailable node)
00196     {
00197         index = 61;
00198     }
00199     public void caseTLparen(TLparen node)
00200     {
00201         index = 4;
00202     }
00203     public void caseTLt(TLt node)
00204     {
00205         index = 24;
00206     }
00207     public void caseTMain(TMain node)
00208     {
00209         index = 48;
00210     }
00211     public void caseTMinus(TMinus node)
00212     {
00213         index = 14;
00214     }
00215     public void caseTMod(TMod node)
00216     {
00217         index = 17;
00218     }
00219     public void caseTMult(TMult node)
00220     {
00221         index = 15;
00222     }
00223     public void caseTNew(TNew node)
00224     {
00225         index = 45;
00226     }
00227     public void caseTNot(TNot node)
00228     {
00229         index = 22;
00230     }
00231     public void caseTNoteq(TNoteq node)
00232     {
00233         index = 23;
00234     }
00235     public void caseTNotify(TNotify node)
00236     {
00237         index = 59;
00238     }
00239     public void caseTNotifyall(TNotifyall node)
00240     {
00241         index = 60;
00242     }
00243     public void caseTNull(TNull node)
00244     {
00245         index = 46;
00246     }
00247     public void caseTOf(TOf node)
00248     {
00249         index = 39;
00250     }
00251     public void caseTOr(TOr node)
00252     {
00253         index = 19;
00254     }
00255     public void caseTPlus(TPlus node)
00256     {
00257         index = 13;
00258     }
00259     public void caseTPredicates(TPredicates node)
00260     {
00261         index = 70;
00262     }
00263     public void caseTPrintln(TPrintln node)
00264     {
00265         index = 69;
00266     }
00267     public void caseTProcess(TProcess node)
00268     {
00269         index = 33;
00270     }
00271     public void caseTRange(TRange node)
00272     {
00273         index = 35;
00274     }
00275     public void caseTRbrace(TRbrace node)
00276     {
00277         index = 3;
00278     }
00279     public void caseTRbrack(TRbrack node)
00280     {
00281         index = 7;
00282     }
00283     public void caseTRecord(TRecord node)
00284     {
00285         index = 42;
00286     }
00287     public void caseTReentrant(TReentrant node)
00288     {
00289         index = 37;
00290     }
00291     public void caseTRef(TRef node)
00292     {
00293         index = 44;
00294     }
00295     public void caseTRparen(TRparen node)
00296     {
00297         index = 5;
00298     }
00299     public void caseTSemicolon(TSemicolon node)
00300     {
00301         index = 0;
00302     }
00303     public void caseTStart(TStart node)
00304     {
00305         index = 62;
00306     }
00307     public void caseTString(TString node)
00308     {
00309         index = 73;
00310     }
00311     public void caseTThread(TThread node)
00312     {
00313         index = 49;
00314     }
00315     public void caseTThreadterminated(TThreadterminated node)
00316     {
00317         index = 66;
00318     }
00319     public void caseTTrue(TTrue node)
00320     {
00321         index = 31;
00322     }
00323     public void caseTUnlock(TUnlock node)
00324     {
00325         index = 56;
00326     }
00327     public void caseTUnwait(TUnwait node)
00328     {
00329         index = 58;
00330     }
00331     public void caseTWait(TWait node)
00332     {
00333         index = 57;
00334     }
00335     public void caseTWasnotified(TWasnotified node)
00336     {
00337         index = 68;
00338     }
00339     public void caseTWhen(TWhen node)
00340     {
00341         index = 52;
00342     }
00343 }

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