feat: parse content text (base case).
This commit is contained in:
3
InkBlot/ParseHierarchy/Content.cs
Normal file
3
InkBlot/ParseHierarchy/Content.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
namespace InkBlot.ParseHierarchy;
|
||||
|
||||
public record Content(string Text) : StoryNode;
|
||||
3
InkBlot/ParseHierarchy/Story.cs
Normal file
3
InkBlot/ParseHierarchy/Story.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
namespace InkBlot.ParseHierarchy;
|
||||
|
||||
public record Story(IEnumerable<StoryNode> StoryNodes) : StoryNode;
|
||||
6
InkBlot/ParseHierarchy/StoryNode.cs
Normal file
6
InkBlot/ParseHierarchy/StoryNode.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace InkBlot.ParseHierarchy;
|
||||
|
||||
/// <summary>
|
||||
/// Any node in the parsed story
|
||||
/// </summary>
|
||||
public record StoryNode;
|
||||
Reference in New Issue
Block a user