|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pascalinterpreter.Command pascalinterpreter.Operation pascalinterpreter.UnaryOperation
Field Summary | |
private UnaryOperator |
operator
|
Fields inherited from class pascalinterpreter.Operation |
operand |
Constructor Summary | |
UnaryOperation(Variable operand,
UnaryOperator operator)
|
Method Summary | |
private void |
checkOperator(Variable operand,
UnaryOperator operator)
|
void |
execute()
Metoda rozpoczyna wykonywanie komendy. |
protected UnaryOperator |
getOperator()
|
Methods inherited from class pascalinterpreter.Operation |
checkType, getOperand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private UnaryOperator operator
Constructor Detail |
public UnaryOperation(Variable operand, UnaryOperator operator) throws AnalyseException
Object.Object()
Method Detail |
protected UnaryOperator getOperator()
public void execute() throws RuntimeException, InternalException
Command
execute
in class Command
RuntimeException
- - wyjątek generowany
InternalException
private void checkOperator(Variable operand, UnaryOperator operator) throws AnalyseException
AnalyseException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |