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.
\macro QT_RESTRICTED_CAST_FROM_ASCII
QSet< QString >::iterator it
void dumpErrorLevel(const Sink &s, ErrorLevel level)
Dumps a string describing the given error level (ErrorLevel::Error -> Error,...)
QDebug operator<<(QDebug d, AST::Node *n)
void sinkEscaped(const Sink &sink, QStringView s, EscapeOptions options)
dumps a string as quoted string (escaping things like quotes or newlines)
void sinkNewline(const Sink &s, int indent)
sinks a neline and indents by the given amount
void sinkIndent(const Sink &s, int indent)
sinks the requested amount of spaces
QString dumperToString(const Dumper &writer)
Converts a dumper to a string.
void dumperToQDebug(const Dumper &dumper, QDebug debug)
Combined button and popup list for selecting options.
GLenum GLuint GLint level
GLsizei GLenum GLboolean sink
\inmodule QtCore \reentrant