Changed decorator tag from clanguml to uml

This commit is contained in:
Bartek Kryza
2021-07-30 13:14:30 +02:00
parent 7b9fe2ee2d
commit 0168edeba2
4 changed files with 75 additions and 25 deletions

View File

@@ -24,7 +24,6 @@
namespace clanguml {
namespace decorators {
// \clanguml{label:diagram1,diagram2[param] text}
struct decorator_toks {
std::string label;
std::vector<std::string> diagrams;
@@ -80,7 +79,8 @@ struct aggregation : public decorator {
static std::shared_ptr<decorator> from_string(std::string_view c);
};
std::vector<std::shared_ptr<decorator>> parse(std::string documentation_block);
std::vector<std::shared_ptr<decorator>> parse(
std::string documentation_block, std::string clanguml_tag = "uml");
} // namespace decorators
} // namespace clanguml