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 RSCOPE instruction which
13 * specifies the removal of a scope. The VM should remove all scope stack
14 * elements up to and including the last SCOPE. Any variable references
15 * found in the removed elements should be removed from the VM's variable
16 * map.
17 *
18 * @see autohit.vm.VMInstruction
19 *
20 * @author Erich P. Gatejen
21 * @version 1.0
22 * <i>Version History</i>
23 * <code>EPG - Initial - 20Jan99</code>
24 *
25 */
26 public class VMIRScope extends VMInstruction {
27
28 // --- FINAL FIELDS ------------------------------------------------------
29
30 // --- FIELDS ------------------------------------------------------------
31
32 // --- PUBLIC METHODS ----------------------------------------------------
33
34 /**
35 * Default constructor.
36 */
37 public VMIRScope() {
38 nToken = VMInstruction.RSCOPE;
39 }
40
41 /**
42 * Dump this Instruction. Mostly for debugging.
43 *
44 * @return a String containing the dump.
45 */
46 public String toString() {
47 StringBuffer d = new StringBuffer();
48 return " VMIRScope ------------------------- \n";
49 }
50
51 // --- PRIVATE METHODS ---------------------------------------------------
52
53 }
|