From ef723e4103a647d428d306fe5a80257af3ec04ad Mon Sep 17 00:00:00 2001 From: "pl@gohorb.ba-horb.de" Date: Mon, 1 Feb 2021 16:56:33 +0100 Subject: [PATCH] modified: ../../../../main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java Zusaetzliche Typvariablen weider entfernt --- .../de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java b/src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java index 4f3198569..b8c7cc5f5 100644 --- a/src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java +++ b/src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java @@ -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