Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdochtmlparser.cpp File Reference

(1cd950dbbb0a0df0b1b8a7bf401326795f1e6952)

#include <qdochtmlparser_p.h>
#include <QtCore/qregularexpression.h>
Include dependency graph for qdochtmlparser.cpp:

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 lengthOfStartParagraphTag = qsizetype(std::char_traits<char>::length("<p>"))
static constexpr auto lengthOfEndParagraphTag = qsizetype(std::char_traits<char>::length("</p>"))

Function Documentation

◆ getContentsByMarks()

QString getContentsByMarks ( const QString & html,
QString startMark,
QString endMark )
static

Definition at line 20 of file qdochtmlparser.cpp.

◆ processOutput()

void processOutput ( QString * html)
static

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 51 of file qdochtmlparser.cpp.

◆ stripAllHtml()

void stripAllHtml ( QString * html)
static

Definition at line 41 of file qdochtmlparser.cpp.

Variable Documentation

◆ firstIndexOfParagraphTag

constexpr qsizetype firstIndexOfParagraphTag = 400
staticconstexpr

Definition at line 13 of file qdochtmlparser.cpp.

◆ lengthOfEndParagraphTag

constexpr auto lengthOfEndParagraphTag = qsizetype(std::char_traits<char>::length("</p>"))
staticconstexpr

Definition at line 18 of file qdochtmlparser.cpp.

◆ lengthOfStartParagraphTag

constexpr auto lengthOfStartParagraphTag = qsizetype(std::char_traits<char>::length("<p>"))
staticconstexpr

Definition at line 17 of file qdochtmlparser.cpp.