Fork me on GitHub

RangeFunction

In package com.mitchellbosecke.pebble.extension.core

public class RangeFunction extends Object implements Function

Range function to iterate over long or a string with a length of 1.

Fields

public static final String FUNCTION_NAME

Constructors

public RangeFunction()
Parameters:
  • No parameters

Methods

public Object execute(Map<String, Object> args, PebbleTemplate self, EvaluationContext context, int lineNumber)
Parameters:
public List<String> getArgumentNames()
Parameters:
  • No parameters