aboutsummaryrefslogtreecommitdiff
path: root/include/cru/parse/ParsingContext.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/parse/ParsingContext.hpp')
-rw-r--r--include/cru/parse/ParsingContext.hpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/cru/parse/ParsingContext.hpp b/include/cru/parse/ParsingContext.hpp
deleted file mode 100644
index cfb850b9..00000000
--- a/include/cru/parse/ParsingContext.hpp
+++ /dev/null
@@ -1,22 +0,0 @@
-#pragma once
-#include "ParsingAlgorithmContext.hpp"
-#include "cru/parse/ParsingTreeNode.hpp"
-
-namespace cru::parse {
-// A parsing context contains all info that a program needs to know when parsing
-// a input sequence of terminals.
-class CRU_PARSE_API ParsingContext {
- public:
- ParsingContext(const ParsingAlgorithmContext* parsing_algorithm_context,
- std::vector<Terminal*> input);
-
- CRU_DELETE_COPY(ParsingContext)
- CRU_DELETE_MOVE(ParsingContext)
-
- ~ParsingContext();
-
- private:
- const ParsingAlgorithmContext* parsing_algorithm_context_;
- std::vector<Terminal*> input_;
-};
-} // namespace cru::parse