| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
| 3 | |
| 4 | #ifndef PARSETABLE_H |
| 5 | #define PARSETABLE_H |
| 6 | |
| 7 | #include <QtCore/qglobal.h> |
| 8 | |
| 9 | QT_FORWARD_DECLARE_CLASS(QTextStream); |
| 10 | class Automaton; |
| 11 | |
| 12 | class ParseTable |
| 13 | { |
| 14 | public: |
| 15 | ParseTable (QTextStream &out); |
| 16 | |
| 17 | void operator () (Automaton *a); |
| 18 | |
| 19 | private: |
| 20 | QTextStream &out; |
| 21 | }; |
| 22 | |
| 23 | #endif // PARSETABLE_H |
| 24 |
