public abstract class AbstractTemplateVisitor extends Object implements DocumentVisitor
| Modifier and Type | Field and Description |
|---|---|
protected SwiftGeneratorConfig |
config |
protected TemplateContextGenerator |
contextGenerator |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTemplateVisitor(TemplateLoader templateLoader,
SwiftDocumentContext context,
SwiftGeneratorConfig config,
File outputFolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
protected void |
render(JavaContext context,
String templateName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, visitprotected final TemplateContextGenerator contextGenerator
protected final SwiftGeneratorConfig config
protected AbstractTemplateVisitor(TemplateLoader templateLoader, SwiftDocumentContext context, SwiftGeneratorConfig config, File outputFolder)
protected void render(JavaContext context, String templateName) throws IOException
IOExceptionpublic void finish()
throws IOException
finish in interface DocumentVisitorIOExceptionCopyright © 2012-2016 Facebook, Inc.. All Rights Reserved.