Class DebugExtension
- java.lang.Object
-
- io.pebbletemplates.pebble.extension.AbstractExtension
-
- io.pebbletemplates.pebble.extension.debug.DebugExtension
-
- All Implemented Interfaces:
Extension
public class DebugExtension extends AbstractExtension
-
-
Field Summary
Fields Modifier and Type Field Description private PrettyPrintNodeVisitorFactoryprettyPrinter
-
Constructor Summary
Constructors Constructor Description DebugExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<NodeVisitorFactory>getNodeVisitors()Node visitors will travel the AST tree during the compilation phase.java.lang.StringtoString()-
Methods inherited from class io.pebbletemplates.pebble.extension.AbstractExtension
getAttributeResolver, getBinaryOperators, getFilters, getFunctions, getGlobalVariables, getTests, getTokenParsers, getUnaryOperators
-
-
-
-
Field Detail
-
prettyPrinter
private final PrettyPrintNodeVisitorFactory prettyPrinter
-
-
Method Detail
-
getNodeVisitors
public java.util.List<NodeVisitorFactory> getNodeVisitors()
Description copied from interface:ExtensionNode visitors will travel the AST tree during the compilation phase.- Specified by:
getNodeVisitorsin interfaceExtension- Overrides:
getNodeVisitorsin classAbstractExtension- Returns:
- a list of node visitors
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-