checkpoint
authoradam <adam@megacz.com>
Wed, 5 Jul 2006 02:09:04 +0000 (22:09 -0400)
committeradam <adam@megacz.com>
Wed, 5 Jul 2006 02:09:04 +0000 (22:09 -0400)
darcs-hash:20060705020904-5007d-384a834d7b2a5aaa78bdd7844b98ede80e6fcf8f.gz

src/edu/berkeley/sbp/misc/Demo.java

index d1f2243..5aa2224 100644 (file)
@@ -180,7 +180,7 @@ public class Demo {
     }
 
     public static abstract class Target {
     }
 
     public static abstract class Target {
-
+        public abstract int[] buildSequence(Production p);
         private Reflection.Bindable _bindable;
         public Target(Reflection.Bindable b) { this._bindable = b; }
 
         private Reflection.Bindable _bindable;
         public Target(Reflection.Bindable b) { this._bindable = b; }
 
@@ -190,7 +190,7 @@ public class Demo {
         public String toString() { return _bindable.getSimpleName(); }
         public Object plant(Object[] fields) { return _bindable.impose(fields); }
         public boolean isRaw() { return _bindable.isAnnotationPresent(raw.class); }
         public String toString() { return _bindable.getSimpleName(); }
         public Object plant(Object[] fields) { return _bindable.impose(fields); }
         public boolean isRaw() { return _bindable.isAnnotationPresent(raw.class); }
-        public Object invokeRaw(Iterable<Tree<Object>> t) { _bindable.impose(new Object[] { t }); }
+        public Object invokeRaw(Iterable<Tree<Object>> t) { return _bindable.impose(new Object[] { t }); }
 
         public boolean isCompatible(Production p) {
             tag t = getTag();
 
         public boolean isCompatible(Production p) {
             tag t = getTag();