private string Context2String(IParseTree t) { var mpv = new MyParserVisitor(); mpv.Visit(t); return(mpv.s); }
private string DealWithCtxTree(ParserRuleContext ctx) { MyParserVisitor mpv = new MyParserVisitor(); mpv.Visit(ctx); return(mpv.s); }