| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
|---|---|
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | |
| 5 | #ifndef VARIABLE_H |
| 6 | #define VARIABLE_H |
| 7 | |
| 8 | #include "dap/protocol.h" |
| 9 | |
| 10 | #include <stdlib.h> |
| 11 | #include <vector> |
| 12 | #include <string> |
| 13 | #include <QVector> |
| 14 | |
| 15 | struct IVariable; |
| 16 | using IVariables = QVector<IVariable>; |
| 17 | struct IVariable |
| 18 | { |
| 19 | dap::string name; |
| 20 | dap::Variable var; |
| 21 | dap::integer depth = 0; |
| 22 | IVariables children; |
| 23 | }; |
| 24 | |
| 25 | #endif // VARIABLE_H |
| 26 |