Fork me on GitHub

AbstractNodeVisitor

In package com.mitchellbosecke.pebble.extension

public class AbstractNodeVisitor extends Object implements NodeVisitor

A base node visitor that can be extended for the sake of using it's navigational abilities.

Constructors

Parameters:

Methods

public void visit(Node node)

Default method used for unknown nodes such as nodes from a user provided extension.

Parameters:
public void visit(ArgumentsNode node)
Parameters:
public void visit(AutoEscapeNode node)
Parameters:
public void visit(BlockNode node)
Parameters:
public void visit(BodyNode node)
Parameters:
public void visit(ExtendsNode node)
Parameters:
public void visit(FlushNode node)
Parameters:
public void visit(ForNode node)
Parameters:
public void visit(IfNode node)
Parameters:
public void visit(ImportNode node)
Parameters:
public void visit(IncludeNode node)
Parameters:
public void visit(MacroNode node)
Parameters:
public void visit(NamedArgumentNode node)
Parameters:
public void visit(ParallelNode node)
Parameters:
public void visit(PositionalArgumentNode node)
Parameters:
public void visit(PrintNode node)
Parameters:
public void visit(RootNode node)
Parameters:
public void visit(SetNode node)
Parameters:
public void visit(TextNode node)
Parameters:
protected PebbleTemplateImpl getTemplate()
Parameters:
  • No parameters