Package io.pebbletemplates.pebble.node
Class ForNode.LoopVariables
- java.lang.Object
-
- io.pebbletemplates.pebble.node.ForNode.LoopVariables
-
- Enclosing class:
- ForNode
public static class ForNode.LoopVariables extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private booleanfirstprivate intindexprivate booleanlastprivate LazyLengthlengthprivate LazyRevIndexrevindex
-
Constructor Summary
Constructors Constructor Description LoopVariables()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()LazyLengthgetLength()LazyRevIndexgetRevindex()booleanisFirst()booleanisLast()java.lang.StringtoString()
-
-
-
Field Detail
-
first
private boolean first
-
last
private boolean last
-
length
private LazyLength length
-
index
private int index
-
revindex
private LazyRevIndex revindex
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isFirst
public boolean isFirst()
-
isLast
public boolean isLast()
-
getLength
public LazyLength getLength()
-
getIndex
public int getIndex()
-
getRevindex
public LazyRevIndex getRevindex()
-
-