made JSPrimitive subclasses public
authoradam <adam@megacz.com>
Fri, 18 Feb 2005 10:51:34 +0000 (10:51 +0000)
committeradam <adam@megacz.com>
Fri, 18 Feb 2005 10:51:34 +0000 (10:51 +0000)
darcs-hash:20050218105134-5007d-79bf10b5f3783f6df8cd673d25d1e324c49c26ca.gz

src/org/ibex/js/JSNumber.java
src/org/ibex/js/JSPrimitive.java
src/org/ibex/js/JSString.java

index a2a6cea..f5ae5be 100644 (file)
@@ -4,7 +4,7 @@
 
 package org.ibex.js;
 
-abstract class JSNumber extends JSPrimitive {
+public abstract class JSNumber extends JSPrimitive {
     public boolean equals(Object o) {
         if(o == this) return true;
         if(o instanceof JSNumber) {
index e011453..b4f3c9c 100644 (file)
@@ -4,7 +4,7 @@
 
 package org.ibex.js;
 
-class JSPrimitive extends JS.Immutable {
+public class JSPrimitive extends JS.Immutable {
     private static final JS.Method METHOD = new JS.Method();
 
     public JS call(JS method, JS[] args) throws JSExn {
index a0ca694..becea4e 100644 (file)
@@ -7,7 +7,7 @@ package org.ibex.js;
 import org.ibex.util.*;
 import java.util.*;
 
-class JSString extends JSPrimitive {
+public class JSString extends JSPrimitive {
     final String s;
     public JSString(String s) { this.s = s; }
     public int hashCode() { return s.hashCode(); }