gecko-dev/js/js2/java/Environment.java
rogerl%netscape.com 173eb15222 Latest changes
1999-05-07 22:18:39 +00:00

18 lines
387 B
Java

import java.util.Hashtable;
class Environment {
JSStack theStack = new JSStack();
Hashtable theGlobals = new Hashtable();
String print()
{
StringBuffer result = new StringBuffer("Globals contents :\n");
result.append(theGlobals.toString());
result.append("\nStack Top = " + theStack.size());
return result.toString();
}
}