Example #1
0
        public object VisitTypeAST([NotNull] TypeASTContext context)
        {
            string type = context.GetText();

            if (type == "int" || type == "bool" || type == "float")
            {
                return("I");
            }
            else
            {
                return("C");
            }
        }