|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.joost.stx.FunctionTable.Position
The position
function.
Returns the context position of this node.
Constructor Summary | |
FunctionTable.Position()
|
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.Position()
Method Detail |
public int getMinParCount()
FunctionTable.Instance
getMinParCount
in interface FunctionTable.Instance
public int getMaxParCount()
FunctionTable.Instance
getMaxParCount
in interface FunctionTable.Instance
public String getName()
FunctionTable.Instance
getName
in interface FunctionTable.Instance
public Value evaluate(Context context, int top, Tree args)
FunctionTable.Instance
evaluate
in interface FunctionTable.Instance
context
- the Context objecttop
- the number of the upper most element on the stackargs
- the current parameters
Value
instance containing the result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |