aboutsummaryrefslogtreecommitdiff
path: root/include/parser/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parser/shared.h')
-rw-r--r--include/parser/shared.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/parser/shared.h b/include/parser/shared.h
new file mode 100644
index 0000000..01f1483
--- /dev/null
+++ b/include/parser/shared.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <string>
+#include <vector>
+
+#include "parser/enum_type.h"
+
+namespace ov4
+{
+
+class T_ast;
+class T_token;
+
+inline size_t ast_index = 0;
+
+inline std::vector<T_ast> ast;
+inline std::vector<T_token> token;
+
+}