|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataType | |
pascalinterpreter | |
pascalinterpreter.analysis | |
pascalinterpreter.datatypes | |
pascalinterpreter.operators |
Uses of DataType in pascalinterpreter |
Fields in pascalinterpreter declared as DataType | |
private DataType |
Variable.type
|
Methods in pascalinterpreter that return DataType | |
abstract DataType |
DataType.makeConversion(DataType secondType)
Wykonuje domyślną konwersję między konkretnym typem danych i typem przekazanym, jeżeli taka jest możliwa. |
DataType |
Variable.getType()
|
Methods in pascalinterpreter with parameters of type DataType | |
boolean |
BinaryOperator.isPossible(DataType type1,
DataType type2)
Sprawdza, czy operacja jest możliwa z użyciem tego typu operandów. |
abstract DataType |
DataType.makeConversion(DataType secondType)
Wykonuje domyślną konwersję między konkretnym typem danych i typem przekazanym, jeżeli taka jest możliwa. |
boolean |
DataType.isPossibleConversion(DataType secondType)
Metoba sprawdza, czy możliwa jest domyślna konwersja między dwoma typami. |
abstract boolean |
DataType.isPossibleAssign(DataType type)
Metoda sprawdza, czy możliwe jest przypisanie do zmiennej danego typu, zmiennej typu przekazanego w argumencie. |
private void |
Operator.setRegistry(DataType type,
java.lang.String value)
Rejestr programu jest dostępny tylko z tego samego pakietu. |
abstract boolean |
UnaryOperator.isPossible(DataType type)
Metoda sprawdza, czy operacja jest możliwa na takim typie danych. |
Variable |
Variable.makeConversion(DataType newType)
Metoda wykonuje, o ile jest możliwa, konwersję zmiennej do nowego typu i zwraca nowopowstałą zmienną (nie jest zmieniana zmienna wyjściowa !!!). |
Constructors in pascalinterpreter with parameters of type DataType | |
Constant(DataType type,
java.lang.String name)
Tworzy obiekt reprezentujący stałą, sprawdza poprawność nazwy, oraz inicjuje atrybuty. |
|
Constant(DataType type)
Tworzy obiekt reprezentujący stałą, automatycznie generuje jej nazwę, oraz inicjuje atrybuty. |
|
DynamicVariable(DataType type)
Konstruktor tworzy zmienną dynamiczną określonego typu. |
|
Variable(DataType type,
java.lang.String name)
Tworzy obiekt reprezentujący zmienną, sprawdza poprawność nazwy, oraz inicjuje atrybuty. |
|
Variable(DataType type,
java.lang.String name,
java.lang.String value)
Tworzy obiekt reprezentujący zmienną. |
Uses of DataType in pascalinterpreter.analysis |
Methods in pascalinterpreter.analysis that return DataType | |
private DataType |
Compiler.checkType(java.lang.String value)
|
private DataType |
Compiler.getType(java.lang.String typeDescr)
|
Uses of DataType in pascalinterpreter.datatypes |
Subclasses of DataType in pascalinterpreter.datatypes | |
class |
Bool
Represents a singleton. |
class |
Int
Represents a singleton. |
class |
PointBool
Represents a singleton. |
class |
PointerType
|
class |
PointInt
Represents a singleton. |
class |
PointReal
Represents a singleton. |
class |
PointStr
Represents a singleton. |
class |
Real
Represents a singleton. |
class |
Str
Represents a singleton. |
Methods in pascalinterpreter.datatypes that return DataType | |
DataType |
Bool.makeConversion(DataType secondType)
|
DataType |
Int.makeConversion(DataType secondType)
|
DataType |
PointBool.getReferentType()
|
DataType |
PointBool.makeConversion(DataType secondType)
|
DataType |
PointInt.getReferentType()
|
DataType |
PointInt.makeConversion(DataType secondType)
|
DataType |
PointReal.getReferentType()
|
DataType |
PointReal.makeConversion(DataType secondType)
|
DataType |
PointStr.getReferentType()
|
DataType |
PointStr.makeConversion(DataType secondType)
|
abstract DataType |
PointerType.getReferentType()
Metoda podaje jaki typ zmiennych jest wskazywany przez konkretny typ wskaźnikowy. |
DataType |
Real.makeConversion(DataType secondType)
|
DataType |
Str.makeConversion(DataType secondType)
|
Methods in pascalinterpreter.datatypes with parameters of type DataType | |
DataType |
Bool.makeConversion(DataType secondType)
|
boolean |
Bool.isPossibleAssign(DataType type)
|
DataType |
Int.makeConversion(DataType secondType)
|
boolean |
Int.isPossibleAssign(DataType type)
|
DataType |
PointBool.makeConversion(DataType secondType)
|
boolean |
PointBool.isPossibleAssign(DataType type)
|
DataType |
PointInt.makeConversion(DataType secondType)
|
boolean |
PointInt.isPossibleAssign(DataType type)
|
DataType |
PointReal.makeConversion(DataType secondType)
|
boolean |
PointReal.isPossibleAssign(DataType type)
|
DataType |
PointStr.makeConversion(DataType secondType)
|
boolean |
PointStr.isPossibleAssign(DataType type)
|
DataType |
Real.makeConversion(DataType secondType)
|
boolean |
Real.isPossibleAssign(DataType type)
|
DataType |
Str.makeConversion(DataType secondType)
|
boolean |
Str.isPossibleAssign(DataType type)
|
Uses of DataType in pascalinterpreter.operators |
Methods in pascalinterpreter.operators with parameters of type DataType | |
private void |
Arithmetic.setRegistry(DataType type,
double value)
Metoda konwertuje wartość do wybranego typu i zapisuje do rejestru programu. |
boolean |
Assign.isPossible(DataType type1,
DataType type2)
|
boolean |
AssignRegistry.isPossible(DataType type)
|
boolean |
Memory.isPossible(DataType type)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |