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
22
QT_BEGIN_NAMESPACE
23
24
class
QTextStream;
25
26
namespace
GLSL
{
27
28
class
Q_QUICK3DGLSLPARSER_EXPORT
ASTDump
:
protected
Visitor
29
{
30
public
:
31
ASTDump
(
QTextStream
&
out
);
32
33
void
operator
()(
AST
*
ast
);
34
35
protected
:
36
bool
preVisit
(
AST
*)
override
;
37
void
postVisit
(
AST
*)
override
;
38
39
private
:
40
QTextStream
&
out
;
41
int
_depth
;
42
};
43
44
}
// namespace GLSL
45
46
QT_END_NAMESPACE
47
48
#
endif
// QSSG_GLSLASTDUMP_H
GLSL::ASTDump
Definition
glslastdump_p.h:29
GLSL
Definition
glslast_p.h:26
qtquick3d
src
glslparser
glslastdump_p.h
Generated on
for Qt by
1.16.1