com.lyncode.jtwig.tree.expressions
Class ValueList

java.lang.Object
  extended by com.lyncode.jtwig.tree.expressions.ValueList
All Implemented Interfaces:
Expression

public class ValueList
extends Object
implements Expression


Constructor Summary
ValueList()
           
 
Method Summary
 boolean add(Expression element)
           
 List<Object> calculate(JtwigContext context)
           
static ValueList create(Constant init, Constant end)
           
 Expression first()
           
 Expression get(int index)
           
 boolean isEmpty()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueList

public ValueList()
Method Detail

create

public static ValueList create(Constant init,
                               Constant end)

add

public boolean add(Expression element)

calculate

public List<Object> calculate(JtwigContext context)
                       throws CalculateException
Specified by:
calculate in interface Expression
Throws:
CalculateException

first

public Expression first()

get

public Expression get(int index)

isEmpty

public boolean isEmpty()

size

public int size()


Copyright © 2014. All Rights Reserved.