예제 #1
0
        private string Context2String(IParseTree t)
        {
            var mpv = new MyParserVisitor();

            mpv.Visit(t);
            return(mpv.s);
        }
예제 #2
0
        private string DealWithCtxTree(ParserRuleContext ctx)
        {
            MyParserVisitor mpv = new MyParserVisitor();

            mpv.Visit(ctx);
            return(mpv.s);
        }