Example #1
0
        public override object Visit(PairwiseInTerm term)
        {
            string s = "";

            foreach (PairwiseValue o in term.Values)
            {
                if (s.Length != 0)
                {
                    s += context.Settings.SetValueSeparator;
                }

                s += Quoted(o);
            }

            // can't have leading spaces after the first {{
            return(String.Format("{0} IN {{{1}}}", Bracketed(context.LookupName(term.Parameter)), s));
        }
Example #2
0
 public abstract object Visit(PairwiseInTerm term);