checkpoint
[sbp.git] / 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 abstract int[] buildSequence(Production p);
         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 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();