+ "var @handlerName = ___./*@synthetic*/markFuncFreeze("
+ " /*@synthetic*/function ("
+ " event, " + ReservedNames.THIS_NODE + ") { @body*; });",
"handlerName", SyntheticNodes.s(
new Identifier(FilePosition.UNKNOWN, handlerFnName)),
"body", new ParseTreeNodeContainer(b.children()));
handlers.add(new EventHandler(attr.env, handler));
handlerCache.put(value, handlerFnName);
}
FunctionConstructor eventAdapter