public override object VisitCallPkg(CallPkgContext context) { var r = (new Result() { data = Visit(context.typeType()) }); r.text = (new System.Text.StringBuilder().Append("(new ").Append(Visit(context.typeType())).Append("()")).to_str(); if (context.pkgAssign() != null) { r.text += Visit(context.pkgAssign()); } else if (context.listAssign() != null) { r.text += Visit(context.listAssign()); } else if (context.dictionaryAssign() != null) { r.text += Visit(context.dictionaryAssign()); } r.text += ")"; return(r); }