Update ConstantFolder.java

java11^2
Sandy Brownlee 2 years ago committed by GitHub
parent 55fdd944fa
commit ce307a11a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Triangle.Compiler/src/main/java/triangle/optimiser/ConstantFolder.java

@ -19,6 +19,7 @@ import triangle.abstractSyntaxTrees.commands.CallCommand;
import triangle.abstractSyntaxTrees.commands.EmptyCommand; import triangle.abstractSyntaxTrees.commands.EmptyCommand;
import triangle.abstractSyntaxTrees.commands.IfCommand; import triangle.abstractSyntaxTrees.commands.IfCommand;
import triangle.abstractSyntaxTrees.commands.LetCommand; import triangle.abstractSyntaxTrees.commands.LetCommand;
import triangle.abstractSyntaxTrees.commands.RepeatCommand;
import triangle.abstractSyntaxTrees.commands.SequentialCommand; import triangle.abstractSyntaxTrees.commands.SequentialCommand;
import triangle.abstractSyntaxTrees.commands.WhileCommand; import triangle.abstractSyntaxTrees.commands.WhileCommand;
import triangle.abstractSyntaxTrees.declarations.BinaryOperatorDeclaration; import triangle.abstractSyntaxTrees.declarations.BinaryOperatorDeclaration;
@ -597,4 +598,4 @@ public class ConstantFolder implements ActualParameterVisitor<Void, AbstractSynt
return null; return null;
} }
} }