aboutsummaryrefslogtreecommitdiff
path: root/src/parse/RecursiveDescentAlgorithmContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/RecursiveDescentAlgorithmContext.cpp')
-rw-r--r--src/parse/RecursiveDescentAlgorithmContext.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/parse/RecursiveDescentAlgorithmContext.cpp b/src/parse/RecursiveDescentAlgorithmContext.cpp
new file mode 100644
index 00000000..8de0abc4
--- /dev/null
+++ b/src/parse/RecursiveDescentAlgorithmContext.cpp
@@ -0,0 +1,16 @@
+#include "cru/parse/RecursiveDescentAlgorithmContext.hpp"
+#include "cru/parse/ParsingTreeNode.hpp"
+
+namespace cru::parse {
+RecursiveDescentAlgorithmContext::RecursiveDescentAlgorithmContext(
+ Grammar* grammar, const RecursiveDescentAlgorithm* algorithm)
+ : ParsingAlgorithmContext(grammar, algorithm) {}
+
+RecursiveDescentAlgorithmContext::~RecursiveDescentAlgorithmContext() = default;
+
+ParsingTreeNode* RecursiveDescentAlgorithmContext::Parse(
+ const std::vector<Terminal*>& input) {
+ // TODO: Implement this.
+ return nullptr;
+}
+} // namespace cru::parse