dioptic.profileparser 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/PKG-INFO +1 -1
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/printers.cpp +12 -3
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/pyproject.toml +1 -1
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/python/pyprofileparser.cpp +1 -1
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/.github/workflows/pypi-packages.yml +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/.github/workflows/web-package.yml +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/.gitignore +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/LICENSE +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/README.md +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/CMakeLists.txt +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/include/profileparser/types.hpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/include/profileparser/utils.hpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/include/profileparser.hpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/lineinfo.cpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/parser.cpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/parser.hpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/peglib.h +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/validation.cpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/python/CMakeLists.txt +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/python/__init__.py +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/web/CMakeLists.txt +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/web/README.md +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/web/binding_api.hpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/web/binding_ast.hpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/web/binding_helpers.hpp +0 -0
- {dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/web/profile_parser_js.cpp +0 -0
|
@@ -77,10 +77,18 @@ struct Printer
|
|
|
77
77
|
return self();
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
PrinterImpl& operator<<(const String& v)
|
|
81
|
+
{
|
|
82
|
+
o << '"' << v << '"';
|
|
83
|
+
return self();
|
|
84
|
+
}
|
|
85
|
+
|
|
80
86
|
PrinterImpl& operator<<(const DocString& v)
|
|
81
87
|
{
|
|
82
|
-
for(auto& line : v.lines)
|
|
83
|
-
|
|
88
|
+
for (auto& line : v.lines) {
|
|
89
|
+
o << "# " << line;
|
|
90
|
+
self() << '\n' << indent;
|
|
91
|
+
}
|
|
84
92
|
return self();
|
|
85
93
|
}
|
|
86
94
|
|
|
@@ -143,7 +151,8 @@ struct Printer
|
|
|
143
151
|
const std::string start = v.classname + ((v.id.empty()) ? "" : ' ' + v.id) + " {";
|
|
144
152
|
Collection obj(&self(), start, ""sv, "}"sv);
|
|
145
153
|
|
|
146
|
-
|
|
154
|
+
if(v.docstring.lines.size())
|
|
155
|
+
obj << v.docstring;
|
|
147
156
|
|
|
148
157
|
for (const auto& item: v.children) {
|
|
149
158
|
obj << item;
|
{dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/.github/workflows/pypi-packages.yml
RENAMED
|
File without changes
|
{dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/.github/workflows/web-package.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/include/profileparser/types.hpp
RENAMED
|
File without changes
|
{dioptic_profileparser-0.3.1 → dioptic_profileparser-0.3.2}/cpp/include/profileparser/utils.hpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|