diff --git a/src/main/java/abstractSyntaxTree/Expression/IntConstantExpression.java b/src/main/java/abstractSyntaxTree/Expression/IntConstantExpression.java new file mode 100644 index 0000000..4a6a605 --- /dev/null +++ b/src/main/java/abstractSyntaxTree/Expression/IntConstantExpression.java @@ -0,0 +1,11 @@ +package abstractSyntaxTree.Expression; + +import TypeCheck.AbstractType; + +public class IntConstantExpression extends AbstractType implements IExpression{ + public int value; + + public IntConstantExpression(int value) { + this.value = value; + } +}