|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An object that implements this interface is defined as a stack operator.
This interface defines the group of stack operators.
All of the stack implemented operators have to check the input taken from the stack and then perfom the necessery action
| Method Summary | |
void |
action(PSStack s)
Executes the action as it is intented. |
| Methods inherited from interface pstypes.PSOperator |
getOperatorToken, isValid |
| Method Detail |
public void action(PSStack s)
The implementor should check the input type taken from the stack and then execute the action.  If there
are any results,it should be saved back in stack
Precondition : A valid stack is given to method.
Postcondition : The implemented action will be executed.
s - The stack where the operands are stored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||