|
|||||||||
| 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.ConstNode
| Field Summary | |
java.lang.Object |
val
|
| Fields inherited from class kmy.jint.tree.ExpressionNode |
clazz,
NOT_CONST |
| Fields inherited from class kmy.jint.tree.BasicNode |
attachment,
filePos |
| Constructor Summary | |
ConstNode(int filePos,
java.lang.Object val)
|
|
| 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 java.lang.Object val
| Constructor Detail |
public ConstNode(int filePos,
java.lang.Object val)
| 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 | ||||||||