add class intConstant to ast

This commit is contained in:
StefanZ3 2024-05-31 11:05:05 +02:00
parent 95313d8083
commit 7458be43d7

View File

@ -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;
}
}