![]() |
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 *) |
| QString | typified (const QString &string, bool trailingSpace=false) |
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. | |
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 33 of file codemarker.cpp.
|
virtual |
When a code marker destroys itself, it removes itself from the static list of code markers.
Definition at line 42 of file codemarker.cpp.
|
staticprotected |
Definition at line 290 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(), and HtmlGenerator::generateExampleFilePage().
|
static |
Returns the 'extra' synopsis string for node with status information, using a specified section style.
Definition at line 186 of file codemarker.cpp.
References PropertyNode::BindableProperty, Class, Section::Details, Enum, Function, Node< _Tp >::nodeType(), Private, Property, Protected, 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 65 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 51 of file codemarker.cpp.
Definition at line 433 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 81 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 101 of file codemarker.cpp.
|
static |
Definition at line 124 of file codemarker.cpp.
Definition at line 285 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 133 of file codemarker.cpp.
|
virtual |
Reimplemented in CppCodeMarker, and QmlCodeMarker.
Definition at line 138 of file codemarker.cpp.
Definition at line 405 of file codemarker.cpp.
References Node< _Tp >::isFunction(), Node< _Tp >::isQmlProperty(), FunctionNode::QmlMethod, FunctionNode::QmlSignal, and FunctionNode::QmlSignalHandler.
|
static |
All the code markers in the static list are terminated here.
Definition at line 75 of file codemarker.cpp.
Referenced by processQdocconfFile().
|
virtual |
Terminating a code marker is trivial.
Definition at line 56 of file codemarker.cpp.
Definition at line 315 of file codemarker.cpp.