Mozilla/mozilla/js/js2/java/Environment.java
rogerl%netscape.com e7d38e04ed Mucking about with stuff.
git-svn-id: svn://10.0.0.236/trunk@34891 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:05:16 +00:00

22 lines
374 B
Java

import java.util.Hashtable;
class Environment {
JSObject scope = new JSObject("globals", null);
void enterNewScope(JSObject newScope)
{
}
String print()
{
StringBuffer result = new StringBuffer("Globals contents :\n");
result.append(scope.toString());
return result.toString();
}
JSValue resultValue;
}