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 PrettyPrintNodeVisitorFactory
prettyPrinter
-
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.String
toString()
-
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:Extension
Node visitors will travel the AST tree during the compilation phase.- Specified by:
getNodeVisitors
in interfaceExtension
- Overrides:
getNodeVisitors
in classAbstractExtension
- Returns:
- a list of node visitors
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-