Commit bf119697 authored by 0xJMR's avatar 0xJMR
Browse files

Added missing > node.

parent cb92376b
......@@ -290,6 +290,13 @@ public class MathPrettyPrinter implements AstPrettyPrinter<ASTMathCompilationUni
this.printSpace();
}
@Override
public void visit(ASTGreaterThanExpression node) {
this.printSpace();
this.printer.print(node.getOperator());
this.printSpace();
}
@Override
public void visit(ASTMathElseIfExpression node) {
this.printElseIf();
......
......@@ -325,6 +325,21 @@ public interface MathStructuredVisitor extends MathVisitor {
default void revisit(ASTGreaterEqualExpression node) {}
@Override
default void traverse(ASTGreaterThanExpression node) {
if (null != node.getLeftExpression()) {
node.getLeftExpression().accept(this.getRealThis());
this.getRealThis().revisit(node);
}
if (null != node.getRightExpression()) {
node.getRightExpression().accept(this.getRealThis());
}
}
default void revisit(ASTGreaterThanExpression node) {}
@Override
default void traverse(ASTBooleanOrOpExpression node) {
if (null != node.getLeftExpression()) {
......
Supports Markdown
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