super(parent); this.t = t;
}
public JS get(JS key) throws JSExn {
- if(JS.isString(key)) {
- //#switch(JS.toString(key))
- case "trapee": return t.target;
- case "callee": return t.f;
- case "trapname": return t.key;
- //#end
- }
+ //#jswitch(key)
+ case "trapee": return t.target;
+ case "callee": return t.f;
+ case "trapname": return t.key;
+ //#end
return super.get(key);
}
}
default: return n>= 0 && n < nargs ? rest[n-3] : null;
}
}
- //#switch(JS.toString(key))
+ //#jswitch(key)
case "callee": return callee;
case "length": return JS.N(nargs);
//#end