Ejemplo n.º 1
0
        public ParserType Visit(ParserNumConstant constant)
        {
            ParserType numType = new ParserNumType();

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