| 1234567891011121314151617181920212223 |
- 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;
- }
- }
- }
|