Beispiel #1
0
        public override object Visit(PairwiseComparisonTerm term)
        {
            string rhs;

            if (term.HasRightValue())
            {
                rhs = Quoted(term.GetRightValue());
            }
            else
            {
                rhs = Bracketed(context.LookupName(term.GetRightParameter()));
            }

            return(string.Format("{0} {1} {2}", Bracketed(context.LookupName(term.Parameter)), LookupOperationSymbol(term.Comparison), rhs));
        }
Beispiel #2
0
 public abstract object Visit(PairwiseComparisonTerm term);