*/
@SuppressWarnings({"JavaDoc"}) @NotNull
private <N extends Node> Renderable widgetize(PageCompilingContext pc, N node, WidgetChain childsChildren) {
if (node instanceof XmlDeclaration) {
try {
XmlDeclaration decl = (XmlDeclaration)node;
return registry.xmlDirectiveWidget(decl.getWholeDeclaration(), pc.lexicalScopes.peek());
} catch (ExpressionCompileException e) {
pc.errors.add(
CompileError.in(node.outerHtml())
.near(line(node))
.causedBy(e)