2003/06/18 07:45:48
[org.ibex.core.git] / src / org / xwt / js / JS.java
index 1904e7b..3c8298f 100644 (file)
@@ -92,6 +92,8 @@ public abstract class JS {
         public Object elementAt(int i) { return super.elementAt(i); }
         public void addElement(Object o) { super.addElement(o); }
         public void setElementAt(Object o, int i) { super.setElementAt(o, i); }
+        public Object get(Object key) { return super._get(key); }
+        public void put(Object key, Object val) { super._put(key, val); }
     }
 
     /** Any object which becomes part of the scope chain must support this interface */ 
@@ -101,8 +103,8 @@ public abstract class JS {
         /** transparent scopes are not returned by THIS */
         public boolean isTransparent() { return super.isTransparent(); }
         public boolean has(Object key) { return super.has(key); }
-        public boolean get(Object key) { return super.get(key); }
-        public boolean put(Object key, Object val) { super.put(key, val); }
+        public Object get(Object key) { return super._get(key); }
+        public void put(Object key, Object val) { super._put(key, val); }
         public void declare(String s) { super.declare(s); }
     } 
 
@@ -113,7 +115,6 @@ public abstract class JS {
 
     /** a Callable which was compiled from JavaScript code */
     public static class CompiledFunction extends CompiledFunctionImpl {
-        public Object call(JS.Array args, JS.Scope scope) throws JS.Exn { return super.call(args, scope); }
         CompiledFunction(String sourceName, int firstLine, Reader sourceCode, Scope scope) throws IOException {
             super(sourceName, firstLine, sourceCode, scope);
         }