}
public XQExpression visit(TextConstructor constructor, XQueryContext ctxt)
throws XQueryException {
XQExpression content = constructor.getContent();
content.visit(this, ctxt);
boolean isLoopInvariant = content.isLoopInvariant();
if(isLoopInvariant) {
removeInvariants(content);
return hookLoopInvariant(constructor);
}