00001 package ca.mcgill.sable.soot.grimp; 00002 00003 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00004 * Grimp, an aggregated-expression Java(TM) bytecode representation. * 00005 * Copyright (C) 1998 Patrick Lam (plam@sable.mcgill.ca) * 00006 * All rights reserved. * 00007 * * 00008 * Portions by Raja Vallee-Rai (rvalleerai@sable.mcgill.ca) are * 00009 * Copyright (C) 1998 Raja Vallee-Rai (rvalleerai@sable.mcgill.ca). * 00010 * All rights reserved. * 00011 * * 00012 * Modifications by Etienne Gagnon (gagnon@sable.mcgill.ca) are * 00013 * Copyright (C) 1998 Etienne Gagnon (gagnon@sable.mcgill.ca). All * 00014 * rights reserved. * 00015 * * 00016 * This work was done as a project of the Sable Research Group, * 00017 * School of Computer Science, McGill University, Canada * 00018 * (http://www.sable.mcgill.ca/). It is understood that any * 00019 * modification not identified as such is not covered by the * 00020 * preceding statement. * 00021 * * 00022 * This work is free software; you can redistribute it and/or * 00023 * modify it under the terms of the GNU Library General Public * 00024 * License as published by the Free Software Foundation; either * 00025 * version 2 of the License, or (at your option) any later version. * 00026 * * 00027 * This work is distributed in the hope that it will be useful, * 00028 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00029 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00030 * Library General Public License for more details. * 00031 * * 00032 * You should have received a copy of the GNU Library General Public * 00033 * License along with this library; if not, write to the * 00034 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * 00035 * Boston, MA 02111-1307, USA. * 00036 * * 00037 * Java is a trademark of Sun Microsystems, Inc. * 00038 * * 00039 * To submit a bug report, send a comment, or get the latest news on * 00040 * this project and other Sable Research Group projects, please * 00041 * visit the web site: http://www.sable.mcgill.ca/ * 00042 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 00043 00044 /* 00045 Reference Version 00046 ----------------- 00047 This is the latest official version on which this file is based. 00048 The reference version is: $SootVersion: 1.beta.4 $ 00049 00050 Change History 00051 -------------- 00052 A) Notes: 00053 00054 Please use the following template. Most recent changes should 00055 appear at the top of the list. 00056 00057 - Modified on [date (March 1, 1900)] by [name]. [(*) if appropriate] 00058 [description of modification]. 00059 00060 Any Modification flagged with "(*)" was done as a project of the 00061 Sable Research Group, School of Computer Science, 00062 McGill University, Canada (http://www.sable.mcgill.ca/). 00063 00064 You should add your copyright, using the following template, at 00065 the top of this file, along with other copyrights. 00066 00067 * * 00068 * Modifications by [name] are * 00069 * Copyright (C) [year(s)] [your name (or company)]. All rights * 00070 * reserved. * 00071 * * 00072 00073 B) Changes: 00074 00075 - Modified on March 1, 1999 by Raja Vallee-Rai (rvalleerai@sable.mcgill.ca) (*) 00076 Renamed ConstructExpr to NewInvokeExpr. 00077 00078 - Modified on February 3, 1999 by Patrick Lam (plam@sable.mcgill.ca). (*) 00079 First release of Grimp. 00080 */ 00081 00082 import ca.mcgill.sable.soot.jimple.*; 00083 00084 public interface GrimpExprSwitch extends ExprSwitch 00085 { 00086 public abstract void caseAddExpr(AddExpr v); 00087 public abstract void caseAndExpr(AndExpr v); 00088 public abstract void caseCastExpr(CastExpr v); 00089 public abstract void caseCmpExpr(CmpExpr v); 00090 public abstract void caseCmpgExpr(CmpgExpr v); 00091 public abstract void caseCmplExpr(CmplExpr v); 00092 public abstract void caseDivExpr(DivExpr v); 00093 public abstract void caseEqExpr(EqExpr v); 00094 public abstract void caseGeExpr(GeExpr v); 00095 public abstract void caseGtExpr(GtExpr v); 00096 public abstract void caseInstanceOfExpr(InstanceOfExpr v); 00097 public abstract void caseInterfaceInvokeExpr(InterfaceInvokeExpr v); 00098 public abstract void caseLeExpr(LeExpr v); 00099 public abstract void caseLengthExpr(LengthExpr v); 00100 public abstract void caseLtExpr(LtExpr v); 00101 public abstract void caseMulExpr(MulExpr v); 00102 public abstract void caseNeExpr(NeExpr v); 00103 public abstract void caseNegExpr(NegExpr v); 00104 public abstract void caseNewArrayExpr(NewArrayExpr v); 00105 public abstract void caseNewExpr(NewExpr v); 00106 public abstract void caseNewInvokeExpr(NewInvokeExpr v); 00107 public abstract void caseNewMultiArrayExpr(NewMultiArrayExpr v); 00108 public abstract void caseOrExpr(OrExpr v); 00109 public abstract void caseRemExpr(RemExpr v); 00110 public abstract void caseShlExpr(ShlExpr v); 00111 public abstract void caseShrExpr(ShrExpr v); 00112 public abstract void caseSpecialInvokeExpr(SpecialInvokeExpr v); 00113 public abstract void caseStaticInvokeExpr(StaticInvokeExpr v); 00114 public abstract void caseSubExpr(SubExpr v); 00115 public abstract void caseUshrExpr(UshrExpr v); 00116 public abstract void caseVirtualInvokeExpr(VirtualInvokeExpr v); 00117 public abstract void caseXorExpr(XorExpr v); 00118 public abstract void defaultCase(Object obj); 00119 }