1 | // Copyright (C) 2021 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #include "glslastvisitor_p.h" |
5 | |
6 | QT_BEGIN_NAMESPACE |
7 | |
8 | using namespace GLSL; |
9 | |
10 | Visitor::Visitor() |
11 | { |
12 | } |
13 | |
14 | Visitor::~Visitor() |
15 | { |
16 | } |
17 | |
18 | void Visitor::accept(AST *ast) |
19 | { |
20 | if (ast) |
21 | ast->accept(visitor: this); |
22 | } |
23 | |
24 | QT_END_NAMESPACE |
25 |