@Singleton public class PrerenderVisitorFactory extends Object
Important: Do not use outside of Soy code (treat as superpackage-private).
Constructor and Description |
---|
PrerenderVisitorFactory(Map<String,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(Map<String,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.