public ParserType Visit(ParserNumConstant constant)
        {
            ParserType numType = new ParserNumType();

            constant.Type = numType;
            return(numType);
        }
Beispiel #2
0
 public Expression Visit(ParserNumConstant constant)
 {
     return(new NumConstant(constant.Value));
 }