Commit 3033029d authored by Malte Heithoff's avatar Malte Heithoff
Browse files

Visitor Fixes

parent d862cabd
......@@ -14,7 +14,6 @@ public class MathLanguage extends MathLanguageTOP{
public MathLanguage() {
super("Math Language", FILE_ENDING);
LogConfig.init();
}
@Override
......
......@@ -66,9 +66,9 @@ public class MathMatrixNameExpressionSymbol extends MathMatrixExpressionSymbol i
public String getTextualRepresentation() {
String result = "";
result += nameToAccess;
result += "(";
// result += "(";
result += getMathMatrixAccessOperatorSymbol().getTextualRepresentation();
result += ")";
// result += ")";
return result;
}
......
......@@ -51,6 +51,12 @@ public interface MathExpressionSymbolVisitor {
handle((MathMatrixAccessSymbol) node);
else if (node instanceof MathMatrixArithmeticExpressionSymbol)
handle((MathMatrixArithmeticExpressionSymbol) node);
else
handleUnkown(node);
}
public default void handleUnkown(MathExpressionSymbol node) {
}
public default void handle(MathArithmeticExpressionSymbol node) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment