aboutsummaryrefslogtreecommitdiff
path: root/src/parse/RecursiveDescentAlgorithmContext.cpp
blob: 90508d680cf8a4ab0aced0ef3467f8bec8a7df9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "cru/parse/RecursiveDescentAlgorithmContext.h"
#include "cru/parse/ParsingTreeNode.h"

namespace cru::parse {
RecursiveDescentAlgorithmContext::RecursiveDescentAlgorithmContext(
    Grammar* grammar, const RecursiveDescentAlgorithm* algorithm)
    : ParsingAlgorithmContext(grammar, algorithm) {}

RecursiveDescentAlgorithmContext::~RecursiveDescentAlgorithmContext() = default;

ParsingTreeNode* RecursiveDescentAlgorithmContext::Parse(
    const std::vector<Terminal*>& input) {
  CRU_UNUSED(input)
  // TODO: Implement this.
  return nullptr;
}
}  // namespace cru::parse