|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kmy.jint.tree.BasicNode | +--kmy.jint.tree.ExpressionNode | +--kmy.jint.tree.PrefixNode
Field Summary | |
ExpressionNode |
arg
|
int |
op
|
Fields inherited from class kmy.jint.tree.ExpressionNode |
clazz,
NOT_CONST |
Fields inherited from class kmy.jint.tree.BasicNode |
attachment,
filePos |
Constructor Summary | |
PrefixNode(int filePos,
int op,
ExpressionNode arg)
|
Method Summary | |
java.lang.Object |
eval(Context context)
Calls corresponding eval* method in the given Context. |
java.lang.Object |
getConstValue()
Returns value of this expression (wrapped in the corresponding java class if value is primitive). |
Methods inherited from class kmy.jint.tree.BasicNode |
getAttachment,
getFilePos,
getLine,
setAttachment,
setFilePos,
toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
public int op
public ExpressionNode arg
Constructor Detail |
public PrefixNode(int filePos, int op, ExpressionNode arg)
Method Detail |
public java.lang.Object eval(Context context)
public java.lang.Object getConstValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |