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
glslastdump_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 GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5
6#ifndef QSSG_GLSLASTDUMP_H
7#define QSSG_GLSLASTDUMP_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtQuick3DGlslParser/private/glslastvisitor_p.h>
21
22QT_BEGIN_NAMESPACE
23
24class QTextStream;
25
26namespace GLSL {
27
28class Q_QUICK3DGLSLPARSER_EXPORT ASTDump: protected Visitor
29{
30public:
32
33 void operator()(AST *ast);
34
35protected:
36 bool preVisit(AST *) override;
37 void postVisit(AST *) override;
38
39private:
41 int _depth;
42};
43
44} // namespace GLSL
45
46QT_END_NAMESPACE
47
48#endif // QSSG_GLSLASTDUMP_H