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
qqmldomastdumper_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 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
4#ifndef QQMLDOMASTDUMPER_P_H
5#define QQMLDOMASTDUMPER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "qqmldom_global.h"
19#include "qqmldomconstants_p.h"
21
22#include <QtQml/private/qqmljsglobal_p.h>
23#include <QtQml/private/qqmljsastvisitor_p.h>
24#include <QtCore/QString>
25
27class QDebug;
28
29namespace QQmlJS {
30namespace Dom {
31
33{
34 return QStringView();
35}
36
38QMLDOM_EXPORT QString astNodeDiff(AST::Node *n1, AST::Node *n2, int nContext = 3,
39 AstDumperOptions opt = AstDumperOption::None, int indent = 0,
42QMLDOM_EXPORT void astNodeDumper(const Sink &s, AST::Node *n, AstDumperOptions opt = AstDumperOption::None,
43 int indent = 1, int baseIndent = 0,
46 int indent = 1, int baseIndent = 0,
48
50
51} // namespace Dom
52} // namespace AST
53
55
56#endif // QQMLDOMASTDUMPER_P_H
\inmodule QtCore
\inmodule QtCore
Definition qstringview.h:78
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
QStyleOptionButton opt
QDebug operator<<(QDebug d, AST::Node *n)
QString astNodeDump(Node *n, AstDumperOptions opt, int indent, int baseIndent, function_ref< QStringView(SourceLocation)>loc2str)
QString astNodeDiff(AST::Node *n1, AST::Node *n2, int nContext, AstDumperOptions opt, int indent, function_ref< QStringView(SourceLocation)>loc2str1, function_ref< QStringView(SourceLocation)>loc2str2)
void astNodeDumper(const Sink &s, Node *n, AstDumperOptions opt, int indent, int baseIndent, function_ref< QStringView(SourceLocation)>loc2str)
function_ref< void(QStringView)> Sink
QStringView noStr(SourceLocation)
QString lineDiff(QString s1, QString s2, int nContext)
qxp::function_ref< T > function_ref
Combined button and popup list for selecting options.
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat s1
GLfloat n
GLdouble s
[6]
Definition qopenglext.h:235
#define QMLDOM_EXPORT
#define s2