package org.nfunk.jep;

public class ASTConstant extends SimpleNode {
  private Object value;
  
  public ASTConstant(int paramInt) {
    super(paramInt);
  }
  
  public ASTConstant(Parser paramParser, int paramInt) {
    super(paramParser, paramInt);
  }
  
  public void setValue(Object paramObject) {
    this.value = paramObject;
  }
  
  public Object getValue() {
    return this.value;
  }
  
  public Object jjtAccept(ParserVisitor paramParserVisitor, Object paramObject) throws ParseException {
    return paramParserVisitor.visit(this, paramObject);
  }
  
  public String toString() {
    return "Constant: " + this.value;
  }
}
