public static interface JSTrappable {
public abstract JSTrap getTrap(Object key);
public abstract void putTrap(Object key, JSTrap trap);
-
- /** puts to this value using an unpauseable context, triggering any traps */
public abstract void putAndTriggerJSTraps(Object key, Object value);
}
- // FIXME: cascadeHappened gets set, but autocascade does not happen
static class JSTrapScope extends JSScope {
JSTrap t;
Object val = null;