using System; using System.Collections.Generic; using System.Text; namespace Larkdown.Parser.Ast { public class ParagraphNode : Node { public string Text { get; private set; } public ParagraphNode() : base(nameof(ParagraphNode)) { Text = String.Empty; } public ParagraphNode AddText(string text) { Text += text; return this; } public bool IsEmpty() { return String.IsNullOrEmpty(Text); } } }