5#include <QtCore/QDebug>
72 if (noslash && noquote && nonewline && noreturn)
87 sink(
s.mid(it0,
s.size() - it0));
141 d =
qInfo().noquote().nospace();
164 while (indent > spaces.
size()) {
166 indent -= spaces.
size();
168 s(spaces.
left(indent));
191 QDebug dd =
d.noquote().nospace();
A Sink is a function that accepts a QStringView as input.
constexpr qsizetype size() const noexcept
Returns the size of this string view, in UTF-16 code units (that is, surrogate pairs count as two for...
constexpr QStringView left(qsizetype n) const noexcept
\macro QT_RESTRICTED_CAST_FROM_ASCII
QSet< QString >::iterator it
QDebug operator<<(QDebug d, AST::Node *n)
void dumpErrorLevel(Sink s, ErrorLevel level)
Dumps a string describing the given error level (ErrorLevel::Error -> Error,...)
void sinkEscaped(Sink sink, QStringView s, EscapeOptions options)
dumps a string as quoted string (escaping things like quotes or newlines)
void sinkNewline(Sink s, int indent)
sinks a neline and indents by the given amount
QString dumperToString(Dumper writer)
Converts a dumper to a string.
void sinkIndent(Sink s, int indent)
sinks the requested amount of spaces
void dumperToQDebug(Dumper dumper, QDebug debug)
Combined button and popup list for selecting options.
GLenum GLuint GLint level
GLsizei GLenum GLboolean sink
\inmodule QtCore \reentrant