|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AnalyseException | |
pascalinterpreter | |
pascalinterpreter.analysis | |
pascalinterpreter.controlstatements |
Uses of AnalyseException in pascalinterpreter |
Methods in pascalinterpreter that throw AnalyseException | |
private void |
BinaryOperation.checkOperator(Variable operandL,
BinaryOperator operator,
Variable operandR)
Metoda sprawdza, czy operator będzie mógł pracować z tego typu zmiennymi. |
private void |
ControlStatement.checkControlCondition(BinaryOperation controlCondition)
Metoda sprawdza, czy operacja binarna jest poprawnym warunkiem, koniecznym do działania instrukcji sterującej. |
protected void |
ControlStatement.setControlCondition(BinaryOperation controlCondition)
|
protected void |
Operation.checkType(Variable operand,
Operator operator)
Metoda sprawdza, czy podany operator jest dopuszczalny dla zmiennej podanego typu. |
void |
Program.addVariable(Variable var)
Metoda dodaje zmienną do zmiennych globalnych programu. |
private void |
UnaryOperation.checkOperator(Variable operand,
UnaryOperator operator)
|
Constructors in pascalinterpreter that throw AnalyseException | |
BinaryOperation(Variable operandL,
BinaryOperator operator,
Variable operandR)
|
|
Constant(DataType type,
java.lang.String name)
Tworzy obiekt reprezentujący stałą, sprawdza poprawność nazwy, oraz inicjuje atrybuty. |
|
UnaryOperation(Variable operand,
UnaryOperator operator)
|
|
Variable(DataType type,
java.lang.String name)
Tworzy obiekt reprezentujący zmienną, sprawdza poprawność nazwy, oraz inicjuje atrybuty. |
Uses of AnalyseException in pascalinterpreter.analysis |
Methods in pascalinterpreter.analysis with parameters of type AnalyseException | |
private void |
Compiler.createAnalyseException(AnalyseException exc)
|
Methods in pascalinterpreter.analysis that throw AnalyseException | |
java.lang.String |
Analyser.getLine()
|
private void |
Analyser.checkDeclarSection()
|
private java.lang.String |
Code.formatLine(java.lang.String text)
Metoda formatuje linie, tzn. usuwa niepotrzebna spacje, usuwa komentarze, każdy identyfikator, operator, znak specjalny... odzielony jest spacją, występują tylko małe litery |
private java.lang.String |
Code.remComments(java.lang.String text)
Metoda usuwa komentarze z tekstu (pomiędzy znakami { }). |
private void |
Code.checkStructure()
Metoda sprawdza, czy w programie pewnw słowa kluczowe wystąpiły tylko raz, we właściwych miejscach. |
private void |
Compiler.createAnalyseException(AnalyseException exc)
|
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 Variable |
Compiler.getVariable(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 AnalyseException | |
Analyser(java.lang.String text)
Metoda powoduje załadowanie kodu programu, oraz jego wstępną obróbkę w obiekcie Code. |
|
Code(java.lang.String code)
Konstruktor obiektu Code. |
|
Compiler(java.lang.String code)
|
Uses of AnalyseException in pascalinterpreter.controlstatements |
Methods in pascalinterpreter.controlstatements that throw AnalyseException | |
private void |
For.checkParametrs(Variable counter,
Variable initValue,
Variable maxValue)
Metoda sprawdza poprawność typów dla parametrów pętli for. |
protected void |
For.setInitOperation(BinaryOperation operation)
|
protected void |
For.setIncrementOperation(BinaryOperation operation)
|
protected void |
For.setAssignRegistryOperation(UnaryOperation operation)
|
Constructors in pascalinterpreter.controlstatements that throw AnalyseException | |
For(Variable counter,
Variable initValue,
Variable maxValue,
Block block)
Konstruktor pętli For. |
|
IfElse(BinaryOperation controlCondition,
Block block,
Block elseBlock)
Konstruktor operacji warunkowej if - else. |
|
While(BinaryOperation controlCondition,
Block block)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |