Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmldomreformatter_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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 QQMLDOMREFORMATTER_P
5#define QQMLDOMREFORMATTER_P
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
20#include "qqmldomoutwriter_p.h"
21#include "qqmldom_fwd_p.h"
22#include "qqmldomcomments_p.h"
23
24#include <QtQml/private/qqmljsast_p.h>
25
27namespace QQmlJS {
28namespace Dom {
29
30QMLDOM_EXPORT void reformatAst(OutWriter &lw, std::shared_ptr<AstComments> comments,
31 const std::function<QStringView(SourceLocation)> loc2Str,
32 AST::Node *n);
33
34} // namespace Dom
35} // namespace QQmlJS
37
38#endif // QQMLDOMREFORMATTER_P
\inmodule QtCore
Definition qstringview.h:76
void reformatAst(OutWriter &lw, std::shared_ptr< AstComments > comments, const std::function< QStringView(SourceLocation)> loc2Str, AST::Node *n)
Combined button and popup list for selecting options.
GLfloat n
#define QMLDOM_EXPORT