forked from JavaTX/JavaCompilerCore
82 lines
1.6 KiB
Java
82 lines
1.6 KiB
Java
package de.dhbwstuttgart.syntaxtree;
|
|
|
|
import de.dhbwstuttgart.parser.SyntaxTreeGenerator.AssignToLocal;
|
|
import de.dhbwstuttgart.syntaxtree.statement.*;
|
|
|
|
public interface StatementVisitor {
|
|
|
|
void visit(ArgumentList argumentList);
|
|
|
|
void visit(LambdaExpression lambdaExpression);
|
|
|
|
void visit(Assign assign);
|
|
|
|
void visit(BinaryExpr binary);
|
|
|
|
void visit(BoolExpression logical);
|
|
|
|
void visit(Block block);
|
|
|
|
void visit(CastExpr castExpr);
|
|
|
|
void visit(EmptyStmt emptyStmt);
|
|
|
|
void visit(FieldVar fieldVar);
|
|
|
|
void visit(ForStmt forStmt);
|
|
|
|
void visit(ForEachStmt forEachStmt);
|
|
|
|
void visit(IfStmt ifStmt);
|
|
|
|
void visit(InstanceOf instanceOf);
|
|
|
|
void visit(LocalVar localVar);
|
|
|
|
void visit(LocalVarDecl localVarDecl);
|
|
|
|
void visit(MethodCall methodCall);
|
|
|
|
void visit(NewClass methodCall);
|
|
|
|
void visit(NewArray newArray);
|
|
|
|
void visit(Return aReturn);
|
|
|
|
void visit(ReturnVoid aReturn);
|
|
|
|
void visit(Switch switchStmt);
|
|
|
|
void visit(SwitchBlock switchBlock);
|
|
|
|
void visit(SwitchLabel switchLabel);
|
|
|
|
void visit(Break aBreak);
|
|
|
|
void visit(Yield aYield);
|
|
|
|
void visit(StaticClassName staticClassName);
|
|
|
|
void visit(Super aSuper);
|
|
|
|
void visit(This aThis);
|
|
|
|
void visit(WhileStmt whileStmt);
|
|
|
|
void visit(DoStmt whileStmt);
|
|
|
|
void visit(AssignToField assignLeftSide);
|
|
|
|
void visit(AssignToLocal assignLeftSide);
|
|
|
|
void visit(SuperCall superCall);
|
|
|
|
void visit(ExpressionReceiver expressionReceiver);
|
|
|
|
void visit(UnaryExpr unaryExpr);
|
|
|
|
void visit(Literal literal);
|
|
|
|
void visit(Throw aThrow);
|
|
}
|