Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Go to the source code of this file.
Classes | |
class | ExtractQmlType |
class | ExtractQmlProperty |
class | ExtractQmlMethodOrSignal |
Functions | |
static QString | getContentsByMarks (const QString &html, QString startMark, QString endMark) |
static void | stripAllHtml (QString *html) |
static void | processOutput (QString *html) |
Process the string obtained from start mark to end mark. This is duplicated from QtC's Utils::HtmlExtractor, modified on top of it. | |
Variables | |
static constexpr qsizetype | firstIndexOfParagraphTag = 400 |
static constexpr auto | lengthOfSmallestOpeningTag = qsizetype(std::char_traits<char>::length("<p><i>")) |
static constexpr auto | lengthOfStartParagraphTag = qsizetype(std::char_traits<char>::length("<p>")) |
static constexpr auto | lengthOfEndParagraphTag = qsizetype(std::char_traits<char>::length("</p>")) |
static constexpr auto | lengthOfPeriod = qsizetype(std::char_traits<char>::length(".")) |
|
static |
Definition at line 21 of file qdochtmlparser.cpp.
References contents, QString::indexOf(), QString::mid(), and QString::prepend().
Referenced by ExtractQmlType::extract().
Process the string obtained from start mark to end mark. This is duplicated from QtC's Utils::HtmlExtractor, modified on top of it.
Definition at line 52 of file qdochtmlparser.cpp.
References QString::append(), QString::clear(), firstIndexOfParagraphTag, QString::indexOf(), QString::isEmpty(), QString::lastIndexOf(), lengthOfEndParagraphTag, lengthOfPeriod, lengthOfSmallestOpeningTag, lengthOfStartParagraphTag, Q_ASSERT, and QString::truncate().
Referenced by ExtractQmlProperty::extract(), and ExtractQmlMethodOrSignal::extract().
Definition at line 42 of file qdochtmlparser.cpp.
References Q_ASSERT, and QString::remove().
Referenced by ExtractQmlType::extract(), ExtractQmlProperty::extract(), and ExtractQmlMethodOrSignal::extract().
|
staticconstexpr |
Definition at line 12 of file qdochtmlparser.cpp.
Referenced by processOutput().
|
staticconstexpr |
Definition at line 18 of file qdochtmlparser.cpp.
Referenced by processOutput().
Definition at line 19 of file qdochtmlparser.cpp.
Referenced by processOutput().
|
staticconstexpr |
Definition at line 16 of file qdochtmlparser.cpp.
Referenced by processOutput().
|
staticconstexpr |
Definition at line 17 of file qdochtmlparser.cpp.
Referenced by processOutput().