Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmljsstreamwriter.cpp File Reference

(d158c61cef35c35d8893db9e7db266782ece264d)

#include "qqmljsstreamwriter_p.h"
#include "qanystringviewutils_p.h"
#include <QtCore/QBuffer>
#include <QtCore/QStringList>
+ Include dependency graph for qqmljsstreamwriter.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE QByteArray enquoteByteArray (QByteArrayView string)
 
static QByteArray enquoteAnyString (QAnyStringView string)
 

Function Documentation

◆ enquoteAnyString()

static QByteArray enquoteAnyString ( QAnyStringView string)
static

Definition at line 29 of file qqmljsstreamwriter.cpp.

References enquoteByteArray(), QAnyStringViewUtils::processAsUtf8(), and view.

Referenced by QQmlJSStreamWriter::writeEnumObjectLiteralBinding(), and QQmlJSStreamWriter::writeStringBinding().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ enquoteByteArray()

static QT_BEGIN_NAMESPACE QByteArray enquoteByteArray ( QByteArrayView string)
static

Definition at line 15 of file qqmljsstreamwriter.cpp.

References QByteArray::reserve().

Referenced by enquoteAnyString(), and QQmlJSStreamWriter::writeStringListBinding().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: