|
||||||||||
| 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.UnaryOpAction
org.millscript.millscript.action.arithmetic.ConstantLeftSubAction
public final class ConstantLeftSubAction
This class implements the subtraction action with a constant left hand value.
| Constructor Summary | |
|---|---|
ConstantLeftSubAction(int left,
Action right)
Constructs a new subtraction action, to subtract the result of the right hand side action from the left. |
|
| Method Summary | |
|---|---|
java.lang.Object |
perform(java.lang.Object x)
Performs this binary action on the specified value. |
| Methods inherited from class org.millscript.millscript.action.UnaryOpAction |
|---|
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 ConstantLeftSubAction(int left,
Action right)
left - the left hand side intright - the right hand side action| Method Detail |
|---|
public java.lang.Object perform(java.lang.Object x)
UnaryOpAction
perform in class UnaryOpActionx - the unary value
UnaryOpAction.perform(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||