Fork me on GitHub

StoppingCondition

In package com.mitchellbosecke.pebble.parser

public interface interface StoppingCondition

Implementations of this class are provided by the TokenParsers and handed to the main Parser. The main parser will parse some of the template until the stopping condition evaluates to true; at this point responsibility is transferred back to the TokenParser.

Methods

public boolean evaluate(Token data)
Parameters: