net.sf.arise.piji.fun
Class AbstractLoopFunction

java.lang.Object
  |
  +--net.sf.arise.piji.AbstractFunction
        |
        +--net.sf.arise.piji.fun.AbstractLoopFunction
All Implemented Interfaces:
Function
Direct Known Subclasses:
DoFunction, ForFunction, GetContextFunction, IfFunction, WhileFunction

public abstract class AbstractLoopFunction
extends AbstractFunction

or returns the boolean or of the arguments

Author:
Kjetil Valstadsve

Constructor Summary
AbstractLoopFunction(java.lang.String docString, boolean vararg, int argCount, Context ctx)
           
AbstractLoopFunction(java.lang.String docString, int argCount, Context ctx)
           
 
Method Summary
protected  java.lang.Object bodyValue(Context context, Expression[] args, int offset)
           
protected  boolean test(Context context, Expression expr)
           
 
Methods inherited from class net.sf.arise.piji.AbstractFunction
apply, checkArgumentCount, checkLeaf, checkLeaf, checkList, checkList, checkString, checkString, checkSymbol, checkSymbol, checkSymbol, checkSymbol, fillContext, fillContext, getArgumentCount, getContext, getDocumentationString, isLeaf, isList, isString, isSymbol, isVararg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLoopFunction

public AbstractLoopFunction(java.lang.String docString,
                            int argCount,
                            Context ctx)

AbstractLoopFunction

public AbstractLoopFunction(java.lang.String docString,
                            boolean vararg,
                            int argCount,
                            Context ctx)
Method Detail

test

protected final boolean test(Context context,
                             Expression expr)
                      throws java.lang.Throwable
java.lang.Throwable

bodyValue

protected final java.lang.Object bodyValue(Context context,
                                           Expression[] args,
                                           int offset)
                                    throws java.lang.Throwable
java.lang.Throwable


All code and documentation is

Copyright (c) : 2000-2003 Kjetil Valstadsve & Maja S. Bratseth