Antlr4.Tool.Grammar.JoinPredicateOperands C# (CSharp) Method

JoinPredicateOperands() public method

public JoinPredicateOperands ( SemanticContext op, string separator ) : string
op SemanticContext
separator string
return string
        public virtual string JoinPredicateOperands(SemanticContext.Operator op, string separator)
        {
            StringBuilder buf = new StringBuilder();
            foreach (SemanticContext operand in op.Operands)
            {
                if (buf.Length > 0)
                {
                    buf.Append(separator);
                }

                buf.Append(GetSemanticContextDisplayString(operand));
            }

            return buf.ToString();
        }