|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpascalinterpreter.Command
pascalinterpreter.Operation
Field Summary | |
protected Variable |
operand
|
Constructor Summary | |
Operation()
|
Method Summary | |
protected void |
checkType(Variable operand,
Operator operator)
Metoda sprawdza, czy podany operator jest dopuszczalny dla zmiennej podanego typu. |
protected Variable |
getOperand()
|
Methods inherited from class pascalinterpreter.Command |
execute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Variable operand
Constructor Detail |
public Operation()
Method Detail |
protected Variable getOperand()
protected void checkType(Variable operand, Operator operator) throws AnalyseException
operand
- - sprawdzana zmienna.operator
- - sprawdzany operator.
AnalyseException
- - Wyjątek generowany, jeżeli operator nie obsługuje tego typu zmiennej.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |