public override Double VisitInt(CalculatorParser.IntContext ctx)
 {
     return(Double.Parse(ctx.INT().GetText()));
 }
Beispiel #2
0
 public override int VisitInt(CalculatorParser.IntContext context)
 {
     return(int.Parse(context.INT().GetText()));
 }