public override void ToStringFormatted(Output output)
 {
     output.BreakAndIndent();
     output.Append("(");
     base.ToStringFormatted(output);
     output.Append(")");
 }
Exemple #2
0
        public override string ToString()
        {
            var output           = new Output();
            var definitionStatus = DefinitionStatus.ToStringOutput();

            output.Append(definitionStatus);
            if (definitionStatus.Length > 0)
            {
                output.Append(" ");
            }
            SubExpression.ToStringFormatted(output);
            return(output.ToString());
        }
 public virtual void ToStringFormatted(Output output)
 {
     output.Append(string.Join(" + ", FocusConcepts));
     if (Refinement != null)
     {
         output.AppendAndIndent(":");
         Refinement.ToStringFormatted(output);
     }
 }
        public void ToStringFormatted(Output output)
        {
            var first = true;

            foreach (var attributeGroup in AttributeGroups)
            {
                if (first)
                {
                    first = false;
                }
                else
                {
                    output.AppendAndBreak(",");
                }
                output.Append("{");
                attributeGroup.ToStringFormatted(output);
                output.Append("}");
            }
        }
Exemple #5
0
 public override void ToStringFormatted(Output output)
 {
     output.Append("#");
     output.Append(Value.ToString(CultureInfo.InvariantCulture));
 }
Exemple #6
0
 public override void ToStringFormatted(Output output)
 {
     output.Append("\"");
     output.Append(Value);
     output.Append("\"");
 }