@Override
public ParserVal eliminateConst() {
if(inner.size()==1){
if(inner.get(0).isConstant())
return new Number(Math.acos(Double.parseDouble(inner.get(0).getText())));
return this;
}
throw new IllegalArgumentException("arcus cosine needs one argument "+getLocationText());
}