add class intConstant to ast
This commit is contained in:
parent
95313d8083
commit
7458be43d7
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user