![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <codemarker.h>
Public Member Functions | |
| CodeMarker () | |
| When a code marker constructs itself, it puts itself into the static list of code markers. | |
| virtual | ~CodeMarker () |
| When a code marker destroys itself, it removes itself from the static list of code markers. | |
| virtual void | initializeMarker () |
| A code market performs no initialization by default. | |
| virtual void | terminateMarker () |
| Terminating a code marker is trivial. | |
| virtual bool | recognizeCode (const QString &) |
| virtual bool | recognizeExtension (const QString &) |
| virtual bool | recognizeFileName (const QString &name) |
| virtual bool | recognizeLanguage (const QString &language) |
| virtual Atom::AtomType | atomType () const |
| virtual QString | markedUpCode (const QString &code, const Node *, const Location &) |
| virtual QString | markedUpSynopsis (const Node *, const Node *, Section::Style) |
| virtual QString | markedUpQmlItem (const Node *, bool) |
| virtual QString | markedUpName (const Node *) |
| virtual QString | markedUpEnumValue (const QString &, const Node *) |
Static Public Member Functions | |
| static void | initialize () |
| All the code markers in the static list are initialized here, after the qdoc configuration file has been loaded. | |
| static void | terminate () |
| All the code markers in the static list are terminated here. | |
| static CodeMarker * | markerForCode (const QString &code) |
| static CodeMarker * | markerForFileName (const QString &fileName) |
| Returns the appropriate code marker for the content in the file with the given fileName, which is typically the whole file path. | |
| static CodeMarker * | markerForLanguage (const QString &lang) |
| static QString | extraSynopsis (const Node *node, Section::Style style) |
| Returns the 'extra' synopsis string for node with status information, using a specified section style. | |
| static QString | typified (const QString &string, bool trailingSpace=false) |
Protected Member Functions | |
| QString | taggedNode (const Node *node) |
| QString | taggedQmlNode (const Node *node) |
| QString | linkTag (const Node *node, const QString &body) |
Static Protected Member Functions | |
| static QString | protect (const QString &string) |
| static void | appendProtectedString (QString *output, QStringView str) |
Definition at line 12 of file codemarker.h.
| CodeMarker::CodeMarker | ( | ) |
When a code marker constructs itself, it puts itself into the static list of code markers.
All the code markers in the static list get initialized in initialize(), which is not called until after the qdoc configuration file has been read.
Definition at line 34 of file codemarker.cpp.
|
virtual |
When a code marker destroys itself, it removes itself from the static list of code markers.
Definition at line 43 of file codemarker.cpp.
|
staticprotected |
Definition at line 298 of file codemarker.cpp.
|
inlinenodiscardvirtual |
Reimplemented in CppCodeMarker, and QmlCodeMarker.
Definition at line 24 of file codemarker.h.
References Atom::Code.
Referenced by DocBookGenerator::generateExampleFilePage(), HtmlGenerator::generateExampleFilePage(), and DocParser::parse().
|
static |
Returns the 'extra' synopsis string for node with status information, using a specified section style.
Definition at line 187 of file codemarker.cpp.
References PropertyNode::BindableProperty, Class, Section::Details, Enum, Function, Node< _Tp >::nodeType(), Property, QmlProperty, Struct, Section::Summary, TypeAlias, and Union.
|
static |
All the code markers in the static list are initialized here, after the qdoc configuration file has been loaded.
Definition at line 66 of file codemarker.cpp.
Referenced by processQdocconfFile().
|
virtual |
A code market performs no initialization by default.
Marker-specific initialization is performed in subclasses.
Definition at line 52 of file codemarker.cpp.
Definition at line 441 of file codemarker.cpp.
|
inlinevirtual |
Reimplemented in CppCodeMarker, and QmlCodeMarker.
Definition at line 25 of file codemarker.h.
Reimplemented in CppCodeMarker.
Definition at line 37 of file codemarker.h.
Reimplemented in CppCodeMarker, and QmlCodeMarker.
Definition at line 36 of file codemarker.h.
Reimplemented in CppCodeMarker.
Definition at line 35 of file codemarker.h.
|
inlinevirtual |
Reimplemented in CppCodeMarker.
Definition at line 30 of file codemarker.h.
|
static |
Definition at line 82 of file codemarker.cpp.
|
static |
Returns the appropriate code marker for the content in the file with the given fileName, which is typically the whole file path.
This is achieved by first checking the file extension, then checking the file name.
Definition at line 102 of file codemarker.cpp.
|
static |
Definition at line 125 of file codemarker.cpp.
Definition at line 293 of file codemarker.cpp.
|
inlinevirtual |
Reimplemented in CppCodeMarker, and QmlCodeMarker.
Definition at line 20 of file codemarker.h.
|
inlinevirtual |
Reimplemented in CppCodeMarker, and QmlCodeMarker.
Definition at line 21 of file codemarker.h.
|
virtual |
Reimplemented in CppCodeMarker, and QmlCodeMarker.
Definition at line 134 of file codemarker.cpp.
|
virtual |
Reimplemented in CppCodeMarker, and QmlCodeMarker.
Definition at line 139 of file codemarker.cpp.
Definition at line 413 of file codemarker.cpp.
References Node< _Tp >::isFunction(), Node< _Tp >::isQmlProperty(), QmlMethod, QmlSignal, and QmlSignalHandler.
|
static |
All the code markers in the static list are terminated here.
Definition at line 76 of file codemarker.cpp.
Referenced by processQdocconfFile().
|
virtual |
Terminating a code marker is trivial.
Definition at line 57 of file codemarker.cpp.
Definition at line 323 of file codemarker.cpp.