aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljsreformatter.h
blob: 3eb74fe5b2c67e6008e22595ab5e097b152fc0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include "qmljs_global.h"

#include "qmljsdocument.h"

namespace QmlJS {
QMLJS_EXPORT QString reformat(const Document::Ptr &doc);
QMLJS_EXPORT QString reformat(const Document::Ptr &doc, int indentSize, int tabSize, int lineLength);
} // namespace QmlJS