com.google.clearsilver.jsilver.functions.structure
Class LastFunction

java.lang.Object
  extended by com.google.clearsilver.jsilver.functions.NonEscapingFunction
      extended by com.google.clearsilver.jsilver.functions.structure.LastFunction
All Implemented Interfaces:
Function

public class LastFunction
extends NonEscapingFunction

Returns true if the local variable is the last in a loop or each.


Constructor Summary
LastFunction()
           
 
Method Summary
 Value execute(Value... args)
          Execute a function.
 
Methods inherited from class com.google.clearsilver.jsilver.functions.NonEscapingFunction
isEscapingFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LastFunction

public LastFunction()
Method Detail

execute

public Value execute(Value... args)
Description copied from interface: Function
Execute a function. Should always return a result.

Parameters:
args - A local variable.
Returns:
Boolean value.


Copyright © 2010-2012 Google. All Rights Reserved.