mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 19:38:13 +00:00
18 lines
387 B
Java
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();
|
|
}
|
|
|
|
|
|
} |