diff options
Diffstat (limited to 'src/Model/Content.kt')
-rw-r--r-- | src/Model/Content.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/Content.kt b/src/Model/Content.kt index 4b92a958..27adfe59 100644 --- a/src/Model/Content.kt +++ b/src/Model/Content.kt @@ -9,9 +9,8 @@ public abstract class ContentNode { val empty = ContentEmpty } - fun append(node : ContentNode) : ContentNode { + fun append(node : ContentNode) { children.add(node) - return this } fun isEmpty() = children.isEmpty() @@ -26,6 +25,7 @@ public class ContentIdentifier(val text: String) : ContentNode() public class ContentSymbol(val text: String) : ContentNode() public class ContentEmphasis() : ContentBlock() public class ContentNodeLink(val node : DocumentationNode) : ContentBlock() +public class ContentNameLink(val name : String) : ContentBlock() public class ContentExternalLink(val href : String) : ContentBlock() public class ContentStrong() : ContentBlock() public class ContentList() : ContentBlock() |