public class MacroAndBlockRegistrantNodeVisitorFactory extends Object implements NodeVisitorFactory
NodeVisitorFactory to handle
MacroAndBlockRegistrantNodeVisitor.| Constructor and Description |
|---|
MacroAndBlockRegistrantNodeVisitorFactory() |
| Modifier and Type | Method and Description |
|---|---|
NodeVisitor |
createVisitor(PebbleTemplate template)
This method creates a new instance of a
NodeVisitor. |
public MacroAndBlockRegistrantNodeVisitorFactory()
public NodeVisitor createVisitor(PebbleTemplate template)
NodeVisitorFactoryNodeVisitor.
The method is called whenever a visitor is applied to a
PebbleTemplate.
The method needs to be thread-safe. However the NodeVisitor
itself does not need to be thread-safe.
createVisitor in interface NodeVisitorFactorytemplate - the template for which a visitor should be created for.Copyright © 2018. All rights reserved.