|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overturetool.vdmj.expressions.Expression
org.overturetool.vdmj.expressions.BinaryExpression
org.overturetool.vdmj.expressions.NumericBinaryExpression
org.overturetool.vdmj.expressions.TimesExpression
public class TimesExpression
| Field Summary |
|---|
| Fields inherited from class org.overturetool.vdmj.expressions.BinaryExpression |
|---|
left, ltype, op, right, rtype |
| Fields inherited from class org.overturetool.vdmj.expressions.Expression |
|---|
breakpoint, location |
| Constructor Summary | |
|---|---|
TimesExpression(Expression left,
LexToken op,
Expression right)
|
|
| Method Summary | |
|---|---|
Value |
eval(Context ctxt)
Evaluate the expression in the given runtime context. |
java.lang.String |
kind()
A short descriptive string for the expression. |
| Methods inherited from class org.overturetool.vdmj.expressions.NumericBinaryExpression |
|---|
getProofObligations, typeCheck |
| Methods inherited from class org.overturetool.vdmj.expressions.BinaryExpression |
|---|
binaryCheck, findExpression, toString |
| Methods inherited from class org.overturetool.vdmj.expressions.Expression |
|---|
abort, abort, concern, detail, detail, detail2, detail2, getPreName, report, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimesExpression(Expression left,
LexToken op,
Expression right)
| Method Detail |
|---|
public Value eval(Context ctxt)
ExpressionValue object
returned can hold any type of value (int, bool, sequences, sets etc).
eval in class Expressionctxt - The context in which to evaluate the expression.
public java.lang.String kind()
Expression
kind in class Expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||