920:147497785496 | 921:e2e9f594de66 |
---|---|
1 #pragma once | |
2 #include <QVector> | |
3 #include <QSharedPointer> | |
4 | |
5 namespace Script | |
6 { | |
7 enum AstNodeType | |
8 { | |
9 | |
10 }; | |
11 | |
12 class AstNode | |
13 { | |
14 public: | |
15 AstNode (QSharedPointer<AstNode> parent); | |
16 | |
17 private: | |
18 QVector<QSharedPointer<AstNode>> m_children; | |
19 QSharedPointer<AstNode> m_parent; | |
20 }; | |
21 } |