diff options
Diffstat (limited to 'include/ricochet/parser/dom_tree.hh')
| -rw-r--r-- | include/ricochet/parser/dom_tree.hh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/ricochet/parser/dom_tree.hh b/include/ricochet/parser/dom_tree.hh index b1e4812..e3b3664 100644 --- a/include/ricochet/parser/dom_tree.hh +++ b/include/ricochet/parser/dom_tree.hh @@ -26,10 +26,11 @@ namespace ricochet::parser { /** * @brief DOM Node. Pure value semantics, no pointers. */ -struct DomNode { - std::string tag_name{}; // If empty, it's a pure text node - std::string text_content{}; // Only meaningful when tag_name is empty - std::vector<DomNode> children{}; // Recursive child nodes list +struct DomNode +{ + std::string tag_name {}; // If empty, it's a pure text node + std::string text_content {}; // Only meaningful when tag_name is empty + std::vector<DomNode> children {}; // Recursive child nodes list }; } // namespace ricochet::parser
\ No newline at end of file |
