Uses of Class
pascalinterpreter.InternalException

Packages that use InternalException
pascalinterpreter   
pascalinterpreter.analysis   
pascalinterpreter.controlstatements   
pascalinterpreter.iooperations   
pascalinterpreter.operators   
 

Uses of InternalException in pascalinterpreter
 

Methods in pascalinterpreter that throw InternalException
 void BinaryOperation.execute()
           
abstract  void BinaryOperator.execute(Variable operandL, Variable operandR)
           
protected  Variable[] BinaryOperator.makeConversion(Variable operand0, Variable operand1)
          Metoda wykonuje, jeżeli jest możliwa, konwersje operandów do wspólnego typu.
protected  double[] BinaryOperator.parseDouble(Variable[] operands)
          Wykonuje, jeżeli to możliwe, parsowanie wartości operandów (które są reprezentowane przez typ String) do liczb typu double.
protected  Variable[] BinaryOperator.execInitialize(Variable operandL, Variable operandR)
          Metoda pomocnicza - sprawdza typy, oraz wykonuje konwersję do wspólnego typu dla obu operandów.
 void Block.execute()
           
abstract  void Command.execute()
          Metoda rozpoczyna wykonywanie komendy.
 void Constant.setValue(java.lang.String string)
          Metoda umożliwia zainicjowanie stałej.
protected  boolean ControlStatement.isConditionTrue()
          Metoda sprawdza warunek wykonywania instrukcji sterującej.
protected  Variable ControlStatement.getRegistry()
          Metoda umożliwia odczyt z rejestru klasom potomnym.
private  void Operator.setRegistry(DataType type, java.lang.String value)
          Rejestr programu jest dostępny tylko z tego samego pakietu.
protected  void Operator.setRegistry(boolean value)
          Zapisuje wartość Bool do rejestru programu.
protected  void Operator.setRegistry(double value)
          Zapisuje wartość Real do rejestru programu.
protected  void Operator.setRegistry(int value)
          Zapisuje wartość Int do rejestru programu.
protected  void Operator.setRegistry(java.lang.String value)
          Zapisuje wartość Str do rejestru programu.
protected  Variable Operator.getRegistry()
          Odczytuje wartość z rejestru programu.
 void Program.remVariable(Variable var)
          Metoda usuwa wskazaną zmienną ze zbioru zmiennych globalnych.
(package private)  Variable Program.getRegistry()
          Zwraca zawartość rejestru oraz czyści rejestr programu użytkownika.
(package private)  void Program.setRegistry(Variable var)
          Wstawia do rejestru zmienną.
 void UnaryOperation.execute()
           
abstract  void UnaryOperator.execute(Variable operand)
          Metoda wykonuje operację na operandzie.
protected  void UnaryOperator.execInitialize(Variable operand)
          Metoda sprawdza typy operandu.
 void Variable.setValue(java.lang.String value)
          Metoda ustawia wartość reprezentowanej przez obiekt zmiennej.
 java.lang.String Variable.getPointerValue()
          Metoda podaje wartość zmiennej wskazywanej przez obiekt.
 void Variable.setPointerValue(java.lang.String value)
          Metoda ustawia wartość reprezentowanej przez obiekt zmiennej wskazywanej.
 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 that throw InternalException
BinaryOperation(Variable operandL, BinaryOperator operator, Variable operandR)
           
 

Uses of InternalException in pascalinterpreter.analysis
 

Methods in pascalinterpreter.analysis that throw InternalException
 java.lang.String Analyser.getLine()
           
(package private)  Line Code.getNextLine()
          Każde wywołanie metody powoduje odczytanie kolejnej linii kodu.
private  BinaryOperation Compiler.createBinaryOperation(java.lang.String opL, java.lang.String oper, java.lang.String opR)
           
private  UnaryOperation Compiler.createUnaryOperation(java.lang.String op, java.lang.String operator)
           
private  Constant Compiler.createConst(java.lang.String value)
           
private  DataType Compiler.checkType(java.lang.String value)
           
private  DataType Compiler.getType(java.lang.String typeDescr)
           
private  Operator Compiler.getOperator(java.lang.String name)
           
private  IfElse Compiler.createIfElse()
           
private  While Compiler.createWhile()
           
private  For Compiler.createFor()
           
private  IoOperation Compiler.createIoOperation(java.lang.String operation, java.lang.String io)
           
private  Block Compiler.createBlock()
           
private  Command[] Compiler.createCommands()
           
 

Constructors in pascalinterpreter.analysis that throw InternalException
Compiler(java.lang.String code)
           
 

Uses of InternalException in pascalinterpreter.controlstatements
 

Methods in pascalinterpreter.controlstatements that throw InternalException
private  BinaryOperation For.createInitOperation(Variable counter, Variable initValue)
           
private  BinaryOperation For.createControlCondition(Variable counter, Variable maxValue)
           
private  BinaryOperation For.createIncrementOperation(Variable counter)
           
private  UnaryOperation For.createAssignRegistryOperation(Variable counter)
           
 void For.execute()
           
 void IfElse.execute()
           
 void While.execute()
           
 

Constructors in pascalinterpreter.controlstatements that throw InternalException
For(Variable counter, Variable initValue, Variable maxValue, Block block)
          Konstruktor pętli For.
 

Uses of InternalException in pascalinterpreter.iooperations
 

Methods in pascalinterpreter.iooperations that throw InternalException
 void Read.execute()
           
 void Readln.execute()
           
 void Write.execute()
           
 void Writeln.execute()
           
 

Uses of InternalException in pascalinterpreter.operators
 

Methods in pascalinterpreter.operators that throw InternalException
 void Add.execute(Variable operandL, Variable operandR)
           
 void Arithmetic.execute(Variable operandL, Variable operandR)
           
private  void Arithmetic.setRegistry(DataType type, double value)
          Metoda konwertuje wartość do wybranego typu i zapisuje do rejestru programu.
 void Assign.execute(Variable operandL, Variable operandR)
           
 void AssignRegistry.execute(Variable operand)
           
 void Dispose.execute(Variable operand)
           
 void Equal.execute(Variable operandL, Variable operandR)
           
protected  boolean Memory.isEmpty(Variable variable)
          Metoda sprawdza, czy zmienna wskaźnikowa jest pusta (ma wartość nil).
 void New.execute(Variable operand)
           
 void NotEqual.execute(Variable operandL, Variable operandR)
           
 void Relational.execute(Variable operandL, Variable operandR)