throw SoySyntaxExceptionUtils.createWithNode(
"Failed to find SoyPrintDirective with name '" + directiveNode.getName() + "'" +
" (tag " + node.toSourceString() + ")",
directiveNode);
}
if (directive.shouldCancelAutoescape()) {
shouldCancelAutoescape = true;
if (!currTemplateShouldAutoescape && directive instanceof NoAutoescapeDirective) {
// Remove reundant noAutoescape in autoescape="false" templates; however, keep it for
// other templates. This ensures filterNoAutoescape gets called for all (even
// non-contextually) autoescaped templates, as a safeguard against tainted