|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.joost.stx.FunctionTable.Count
The count function.
Returns the number of items in the sequence.
| Constructor Summary | |
FunctionTable.Count()
|
|
| Method Summary | |
Value |
evaluate(Context context,
int top,
Tree args)
The evaluation method. |
int |
getMaxParCount()
Maximum number of parameters. |
int |
getMinParCount()
Minimum number of parameters. |
String |
getName()
Expanded name of the function. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FunctionTable.Count()
| Method Detail |
public int getMinParCount()
FunctionTable.Instance
getMinParCount in interface FunctionTable.Instancepublic int getMaxParCount()
FunctionTable.Instance
getMaxParCount in interface FunctionTable.Instancepublic String getName()
FunctionTable.Instance
getName in interface FunctionTable.Instance
public Value evaluate(Context context,
int top,
Tree args)
throws SAXException,
EvalException
FunctionTable.Instance
evaluate in interface FunctionTable.Instancecontext - the Context objecttop - the number of the upper most element on the stackargs - the current parameters
Value instance containing the result
EvalException - if an error occurs while processing
SAXException - if an error occurs while processing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||