@Singleton public final class PrerenderVisitorFactory extends Object
Important: Do not use outside of Soy code (treat as superpackage-private).
| Constructor and Description |
|---|
PrerenderVisitorFactory(com.google.common.collect.ImmutableMap<String,? extends SoyJavaPrintDirective> soyJavaDirectivesMap,
PreevalVisitorFactory preevalVisitorFactory) |
| Modifier and Type | Method and Description |
|---|---|
com.google.template.soy.sharedpasses.opti.PrerenderVisitor |
create(Appendable outputBuf,
TemplateRegistry templateRegistry)
Creates a PrerenderVisitor.
|
@Inject public PrerenderVisitorFactory(com.google.common.collect.ImmutableMap<String,? extends SoyJavaPrintDirective> soyJavaDirectivesMap, PreevalVisitorFactory preevalVisitorFactory)
public com.google.template.soy.sharedpasses.opti.PrerenderVisitor create(Appendable outputBuf, TemplateRegistry templateRegistry)
outputBuf - The Appendable to append the output to.templateRegistry - A registry of all templates.