|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bc.jexp.Term
com.bc.jexp.Term.Op
com.bc.jexp.Term.Binary
com.bc.jexp.Term.BinaryN
com.bc.jexp.Term.Div
public static final class Term.Div
The numerical DIV operation:
n-term / n-term
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.bc.jexp.Term |
|---|
Term.Add, Term.AndB, Term.AndI, Term.Assign, Term.Binary, Term.BinaryB, Term.BinaryI, Term.BinaryN, Term.Call, Term.Cond, Term.ConstB, Term.ConstD, Term.ConstI, Term.ConstS, Term.Div, Term.EqB, Term.EqD, Term.EqI, Term.GeD, Term.GeI, Term.GtD, Term.GtI, Term.LeD, Term.LeI, Term.LtD, Term.LtI, Term.Mod, Term.Mul, Term.Neg, Term.NEqB, Term.NEqD, Term.NEqI, Term.NotB, Term.NotI, Term.Op, Term.OrB, Term.OrI, Term.Ref, Term.Sub, Term.Unary, Term.UnaryB, Term.UnaryI, Term.UnaryN, Term.XOrI |
| Field Summary |
|---|
| Fields inherited from class com.bc.jexp.Term.Binary |
|---|
arg1, arg2 |
| Fields inherited from class com.bc.jexp.Term.Op |
|---|
args, name, type |
| Fields inherited from class com.bc.jexp.Term |
|---|
TYPE_B, TYPE_D, TYPE_I, TYPE_S |
| Constructor Summary | |
|---|---|
Term.Div(int type,
Term arg1,
Term arg2)
|
|
| Method Summary | |
|---|---|
double |
evalD(EvalEnv env)
Evaluates this term to a double value. |
int |
evalI(EvalEnv env)
Evaluates this term to an int value. |
| Methods inherited from class com.bc.jexp.Term.BinaryN |
|---|
evalB |
| Methods inherited from class com.bc.jexp.Term.Op |
|---|
getArgs, getChildren, getRetType, toString |
| Methods inherited from class com.bc.jexp.Term |
|---|
evalS, isB, isD, isI, isN, toB, toB, toD, toI, toI, toS, toS, toS |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Term.Div(int type,
Term arg1,
Term arg2)
| Method Detail |
|---|
public int evalI(EvalEnv env)
Termint value.
evalI in class Termenv - the application dependant environment.
int valuepublic double evalD(EvalEnv env)
Termdouble value.
evalD in class Termenv - the application dependant environment.
double value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||