modified: ../../../../main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java

Zusaetzliche Typvariablen weider entfernt
This commit is contained in:
pl@gohorb.ba-horb.de 2021-02-01 16:56:33 +01:00
parent 9f06118138
commit ef723e4103

View File

@ -126,7 +126,7 @@ public abstract class AbstractASTWalker implements ASTVisitor{
public void visit(Assign assign) {
assign.lefSide.accept(this);
assign.rightSide.accept(this);
assign.rightSide.getType().accept(this);
//assign.rightSide.getType().accept(this);
}
@Override
@ -187,9 +187,9 @@ public abstract class AbstractASTWalker implements ASTVisitor{
public void visit(MethodCall methodCall) {
methodCall.receiver.accept(this);
methodCall.getArgumentList().accept(this);
methodCall.getArgumentList()
.getArguments()
.forEach(x -> x.getType().accept(this));
//methodCall.getArgumentList()
// .getArguments()
// .forEach(x -> x.getType().accept(this));
}
@Override
@ -215,7 +215,7 @@ public abstract class AbstractASTWalker implements ASTVisitor{
@Override
public void visit(Return aReturn) {
aReturn.retexpr.accept(this);
aReturn.retexpr.getType().accept(this);
// aReturn.retexpr.getType().accept(this);
}
@Override