|
||||||||||
| 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
public abstract class BinaryOpAction
This class is the base of all binary actions, i.e. those that operate on two values.
| Constructor Summary | |
|---|---|
protected |
BinaryOpAction(Action a,
Action b)
Constructs a new binary action, with the specified left and right hand side actions. |
| Method Summary | |
|---|---|
void |
action(Machine mc)
Performs this action, on the specified machine. |
abstract 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.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 |
|---|
protected BinaryOpAction(Action a,
Action b)
a - the left hand side actionb - the right hand side action| Method Detail |
|---|
public abstract java.lang.Object perform(java.lang.Object x,
java.lang.Object y)
x - the left hand side valuey - the right hand side value
public final void action(Machine mc)
Action
action in class Actionmc - the machine to perform this action onAction.action(org.millscript.millscript.vm.Machine)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||