public JS action = null;
+ // FIXME: Updae for new api
+
// means we call()ed a Grammar that hasn't been bound to a scope yet
- public Object call(Object a0, Object a1, Object a2, Object[] rest, int nargs) throws JSExn {
+ /*public Object call(Object a0, Object a1, Object a2, Object[] rest, int nargs) throws JSExn {
throw new Error("this should never happen");
}
public int match(String s, int start, Hash v, JSScope scope) throws JSExn {
return ((Grammar)scope.get(key)).matchAndWrite(s, start, v, scope, key);
}
- }
+ }*/
}