aboutsummaryrefslogtreecommitdiff
path: root/include/cru/parse/Terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/parse/Terminal.h')
-rw-r--r--include/cru/parse/Terminal.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/cru/parse/Terminal.h b/include/cru/parse/Terminal.h
new file mode 100644
index 00000000..d197ab29
--- /dev/null
+++ b/include/cru/parse/Terminal.h
@@ -0,0 +1,14 @@
+#pragma once
+#include "Symbol.h"
+
+namespace cru::parse {
+class CRU_PARSE_API Terminal : public Symbol {
+ public:
+ Terminal(Grammar* grammar, String name);
+
+ CRU_DELETE_COPY(Terminal)
+ CRU_DELETE_MOVE(Terminal)
+
+ ~Terminal() override;
+};
+} // namespace cru::parse