예제 #1
0
 public override string VisitDisplayAs([NotNull] WordLangParser.DisplayAsContext context)
 {
     if (context.text() != null)
     {
         return(Visit(context.text()));
     }
     else
     {
         return("");
     }
 }
예제 #2
0
        public override string VisitDisplayAs([NotNull] WordLangParser.DisplayAsContext context)
        {
            var txt = context.text();

            if (txt == null)
            {
                return(Quotize(""));
            }
            else
            {
                return(Quotize(Visit(context.text())));
            }
        }