aboutsummaryrefslogtreecommitdiff
path: root/src/parse/RecursiveDescentAlgorithmContext.cpp
blob: 8de0abc4bacc1bc5d08af3b35eb4c7ca6ea251dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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