Node Abstract Base Class implementation #11
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A node class should exist that is used as the base for the DOM tree. This node class will be inherited from in various other classes such as
RootNode,ParagraphNodeandHeaderNode.This will enable us to create a polymorphic tree, allowing for easy string generation once the tree is in place.
For now, this class will be a simple ABC and not contain any content; the child nodes will be added next.