![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "injabridge.h"#include "textutils.h"#include <QtCore/qlogging.h>#include <cmath>#include <functional>#include <utility>Go to the source code of this file.
Functions | |
| void | qdocFatalTemplateRenderError (const char *what) |
| static InjaBridge::RenderResult | renderWithPolicy (const InjaBridge::RenderContext &context, const std::function< QString()> &render) |
| static std::string | escapeHtml (const std::string &inputinput) |
| static std::string | renderLinkSpan (const std::string &text, const std::string &href, bool hasHref, bool isMarkdown) |
| static std::string | renderSpanMarkdown (const nlohmann::json &ss) |
| static std::string | renderSignatureSpans (const nlohmann::json &spans, const QString &formatformat) |
| static void | registerCallbacks (inja::Environment &env, const QString &formatformat) |
|
static |
Definition at line 88 of file injabridge.cpp.
| void qdocFatalTemplateRenderError | ( | const char * | what | ) |
The error-reporting entry point for template library errors in a no-exceptions build. The header redefines INJA_THROW and JSON_THROW_USER, the error-reporting entry points of Inja and nlohmann::json, to this function before including the libraries, so a library error terminates the run with the diagnostic for the render in progress instead of a bare abort.
Definition at line 65 of file injabridge.cpp.
Definition at line 238 of file injabridge.cpp.
|
static |
Definition at line 122 of file injabridge.cpp.
|
static |
Definition at line 154 of file injabridge.cpp.
|
static |
Definition at line 138 of file injabridge.cpp.
|
static |
Definition at line 72 of file injabridge.cpp.