|
|||||||||||
| 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 string operator.
This interface defines the group of string operators.
All the string operators must check if the input taken is valid and determine on which type of literals the string functions will be perfomed.
| 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 determines the kind of the string operator that will be held as well as the type of operands needed.
Precondition : A valid stack is given to method.
Postcondition : The implemented action will be executed and if there are any results,it will be saved in the stack .
s - The stack where the operands are stored.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||