예제 #1
0
        public override int VisitNegativeNumber([NotNull] GrammarParser.NegativeNumberContext context)
        {
            int ans = int.Parse(context.GetText());

            Console.WriteLine($"neg {ans}");
            return(ans);
        }