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

SWAP.java

00001 package de.fub.bytecode.generic;
00002 
00003 /** 
00004  * SWAP - Swa top operand stack word
00005  * <PRE>Stack: ..., word2, word1 -&gt; ..., word1, word2</PRE>
00006  *
00007  * @version $Id: SWAP.java,v 1.1.1.1 2002/01/24 03:41:41 pserver Exp $
00008  * @author  <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A>
00009  */
00010 public class SWAP extends StackInstruction implements StackConsumer, StackProducer {
00011   public SWAP() {
00012     super(de.fub.bytecode.Constants.SWAP);
00013   }  
00014   /**
00015    * Call corresponding visitor method(s). The order is:
00016    * Call visitor methods of implemented interfaces first, then
00017    * call methods according to the class hierarchy in descending order,
00018    * i.e., the most specific visitXXX() call comes last.
00019    *
00020    * @param v Visitor object
00021    */
00022   public void accept(Visitor v) {
00023     v.visitStackConsumer(this);
00024     v.visitStackProducer(this);
00025     v.visitStackInstruction(this);
00026     v.visitSWAP(this);
00027   }  
00028 }

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