|
using System.Text;
namespace MathMLToCSharp.Entities
{
public class Annotation : WithTextContent
{
public Annotation(string content):base(content) {}
public override void Visit(StringBuilder sb, BuildContext bc)
{
if (!string.IsNullOrEmpty(content) && content.Length > 0)
{
sb.Append("/* ");
sb.Append(content);
sb.AppendLine(" */");
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I work primarily with the .NET technology stack, and specialize in accelerated code production via code generation (static or dynamic), aspect-oriented programming, MDA, domain-specific languages and anything else that gets products out the door faster. My languages of choice are C# and C++, though I'm open to suggestions.