(FEAT): Defined the structureNode classes for the node. #14

Merged
shultzp1 merged 3 commits from feature/nodes-implementation into main 2025-10-15 13:38:01 -07:00
18 changed files with 675 additions and 655 deletions
Showing only changes of commit 4672b81f6a - Show all commits

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"C_Cpp.errorSquiggles": "disabled"
}

17
lib/inlindeNode.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef INLINENODE_H
#define INLINENODE_H
#include "node.h"
class InlineNode : public Node{
public:
InlineNode(std::string content) : content(content);
protected:
std::string content;
};
class TextNode : public InlineNode{};
class BoldNode : public InlineNode{};
class Italic : public InlineNode{};
class BoldItalic : public InlineNode{};
#endif

0
lib/inlineNode.cpp Normal file
View File