public virtual object Visit(CogniPy.CNL.DL.ValueSet e) { foreach (var val in e.Values) { val.accept(this); } return(e); }
public object Visit(CogniPy.CNL.DL.ValueSet e) { StringBuilder sb = new StringBuilder(); sb.Append("{"); bool first = true; foreach (Value n in e.Values) { if (first) { first = false; } else { sb.Append(","); } sb.Append(n.accept(this)); } sb.Append("}"); return(sb.ToString()); }