/** Constante entière. */ public class ExpEntier extends Exp { public Integer value; public ExpEntier(Integer value) { this.value = value; } public String toString() { return super.toString() + "(" + value.toString() + ")"; } public Integer eval(){ return value; } public void accept(AstVisitor v) { v.visit(this); } }