|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpascalinterpreter.Operator
pascalinterpreter.UnaryOperator
pascalinterpreter.operators.Memory
| Field Summary |
| Fields inherited from class pascalinterpreter.Operator |
OP_REG_VAR_NAME |
| Constructor Summary | |
Memory()
|
|
| Method Summary | |
protected boolean |
isEmpty(Variable variable)
Metoda sprawdza, czy zmienna wskaźnikowa jest pusta (ma wartość nil). |
boolean |
isPossible(DataType type)
Metoda sprawdza, czy operacja jest możliwa na takim typie danych. |
| Methods inherited from class pascalinterpreter.UnaryOperator |
execInitialize, execute |
| Methods inherited from class pascalinterpreter.Operator |
getRegistry, setRegistry, setRegistry, setRegistry, setRegistry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Memory()
| Method Detail |
protected boolean isEmpty(Variable variable)
throws InternalException
variable - - sprawdzana zmienna.
InternalException - - Wyjątek generowany przy wywołaniu tej metody dla zmiennej nie będącej zmienną wskaźnikową.public boolean isPossible(DataType type)
UnaryOperator
isPossible in class UnaryOperatortype - - sprawdzany typ danych.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||