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
qqmlscriptstring_p.h
Go to the documentation of this file.
1
// Copyright (C) 2018 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant
4
5
#
ifndef
QQMLSCRIPTSTRING_P_H
6
#
define
QQMLSCRIPTSTRING_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
"qqmlscriptstring.h"
20
#
include
<
QtQml
/
qqmlcontext
.
h
>
21
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
Q_QML_EXPORT QQmlScriptStringPrivate :
public
QSharedData
26
{
27
public
:
28
QQmlScriptStringPrivate() : context(
nullptr
), scope(
nullptr
), bindingId(-1), lineNumber(0), columnNumber(0),
29
numberValue(0), isStringLiteral(
false
), isNumberLiteral(
false
) {}
30
31
//for testing
32
static
const
QQmlScriptStringPrivate* get(
const
QQmlScriptString &script);
33
34
static
QQmlScriptString create(
const
QString &script, QQmlContext *context, QObject *scope);
35
36
QQmlContext *context;
37
QObject *scope;
38
QString script;
39
int
bindingId;
40
quint16 lineNumber;
41
quint16 columnNumber;
42
double
numberValue;
43
bool
isStringLiteral;
44
bool
isNumberLiteral;
45
};
46
47
QT_END_NAMESPACE
48
49
#
endif
// QQMLSCRIPTSTRING_P_H
QQmlExpressionPrivate
Definition
qqmlexpression_p.h:31
QQmlExpressionPrivate::expressionChanged
void expressionChanged() override
Definition
qqmlexpression.cpp:409
QQmlExpressionPrivate::v4value
QV4::ReturnedValue v4value(bool *isUndefined=nullptr)
Definition
qqmlexpression.cpp:221
QQmlExpressionPrivate::expressionFunctionValid
bool expressionFunctionValid
Definition
qqmlexpression_p.h:50
QQmlExpressionPrivate::value
QVariant value(bool *isUndefined=nullptr)
Definition
qqmlexpression.cpp:236
QQmlExpressionPrivate::expressionIdentifier
QString expressionIdentifier() const override
Definition
qqmlexpression.cpp:415
QQmlExpressionPrivate::~QQmlExpressionPrivate
~QQmlExpressionPrivate() override
Definition
qqmlexpression.cpp:25
QQmlIncubator::QQmlEnginePrivate
friend class QQmlEnginePrivate
Definition
qqmlincubator.h:63
qtdeclarative
src
qml
qml
qqmlscriptstring_p.h
Generated on
for Qt by
1.16.1