Source code for /engineering/autohit-1998/autohit/vm/VMIScope.javaOriginal file VMIScope.java
   1 /**
   2  * .
   3  * Copyright � 1999 Erich P G.
   4  *
   5  */
   6  
   7 package autohit.vm;
   8 
   9 import java.io.Serializable;
  10 
  11 /**
  12  * A Virtual Machine instruction.  It implements a SCOPE instruction which
  13  * defines a new variable scope.  It should be pushed onto the scope stack to
  14  * mark the new scope.  
  15  *
  16  * @see autohit.vm.VMInstruction
  17  *
  18  * @author Erich P. Gatejen
  19  * @version 1.0
  20  * <i>Version History</i>
  21  * <code>EPG - Initial - 20Jan99</code> 
  22  * 
  23  */
  24 public class VMIScope extends VMInstruction {
  25 	
  26 	// --- FINAL FIELDS ------------------------------------------------------	
  27 
  28 	// --- FIELDS ------------------------------------------------------------
  29     
  30 	// --- PUBLIC METHODS ----------------------------------------------------	
  31 
  32     /**
  33      *  Default constructor.
  34      */ 
  35     public VMIScope() {
  36         nToken = VMInstruction.SCOPE;
  37     }
  38 
  39     /**
  40      *  Dump this Instruction.  Mostly for debugging.
  41      *
  42      *  @return a String containing the dump.
  43      */
  44     public String toString() {
  45         StringBuffer d = new StringBuffer();        
  46         return " VMIScope -------------------------- \n";
  47     }
  48     
  49 	// --- PRIVATE METHODS ---------------------------------------------------
  50 
  51 }