diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-11 03:28:01 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-11 03:28:01 +0800 |
| commit | d68d4495395cabc10407e088b6781bf7ee5035e1 (patch) | |
| tree | e9633cfed14cc8f38396971e41434dfabc5034c1 /include/ricochet/parser/dom_tree.hh | |
| parent | 828b10cc337784444b18e4c178a75f87c771412a (diff) | |
| download | rwebbrowser-d68d4495395cabc10407e088b6781bf7ee5035e1.tar.gz rwebbrowser-d68d4495395cabc10407e088b6781bf7ee5035e1.tar.xz | |
style: apply consistent code formatting and bracing style across the codebase
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 |
