|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.action.Action
org.millscript.millscript.action.BinaryOpAction
org.millscript.millscript.action.arithmetic.DivAction
public final class DivAction
This class implements the division action.
| Constructor Summary | |
|---|---|
DivAction(Action left,
Action right)
Constructs a new division action, to divide the result of the left hand side action by the right. |
|
| Method Summary | |
|---|---|
java.lang.Object |
perform(java.lang.Object x,
java.lang.Object y)
Performs this binary action on the specified left and right hand side values. |
| Methods inherited from class org.millscript.millscript.action.BinaryOpAction |
|---|
action |
| Methods inherited from class org.millscript.millscript.action.Action |
|---|
act, act1, getLineNumber, getOrigin, predAct, setContext, setLineNumber, setOrigin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DivAction(Action left,
Action right)
left - the left hand side actionright - the right hand side action| Method Detail |
|---|
public java.lang.Object perform(java.lang.Object x,
java.lang.Object y)
BinaryOpAction
perform in class BinaryOpActionx - the left hand side valuey - the right hand side value
BinaryOpAction.perform(java.lang.Object, java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||