public ParserType Visit(ParserNumConstant constant) { ParserType numType = new ParserNumType(); constant.Type = numType; return(numType); }
public Expression Visit(ParserNumConstant constant) { return(new NumConstant(constant.Value)); }