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
qqmldomstringdumper.cpp File Reference

(14785c28679923e82f9047331235b6181609bad1)

#include "qqmldomstringdumper_p.h"
#include <QtCore/QDebug>
Include dependency graph for qqmldomstringdumper.cpp:

Go to the source code of this file.

Namespaces

namespace  QQmlJS
namespace  QQmlJS::Dom

Functions

QMLDOM_EXPORT QString QQmlJS::Dom::dumperToString (const Dumper &writer)
 Converts a dumper to a string.
QMLDOM_EXPORT void QQmlJS::Dom::sinkEscaped (const Sink &sink, QStringView s, EscapeOptions options)
 dumps a string as quoted string (escaping things like quotes or newlines)
QMLDOM_EXPORT void QQmlJS::Dom::dumpErrorLevel (const Sink &s, ErrorLevel level)
 Dumps a string describing the given error level (ErrorLevel::Error -> Error,...)
QMLDOM_EXPORT void QQmlJS::Dom::dumperToQDebug (const Dumper &dumper, QDebug debug)
QMLDOM_EXPORT void QQmlJS::Dom::dumperToQDebug (const Dumper &dumper, ErrorLevel level)
 writes the dumper to the QDebug object corrsponding to the given error level
QMLDOM_EXPORT void QQmlJS::Dom::sinkIndent (const Sink &s, int indent)
 sinks the requested amount of spaces
QMLDOM_EXPORT void QQmlJS::Dom::sinkNewline (const Sink &s, int indent)
 sinks a neline and indents by the given amount
QMLDOM_EXPORT QDebug QQmlJS::Dom::operator<< (QDebug d, const Dumper &dumper)