modified: ../../../../main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java
Zusaetzliche Typvariablen weider entfernt
This commit is contained in:
parent
9f06118138
commit
ef723e4103
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user