blob: 45bc500fae22a99abc0564d9181a4516108b0281 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | #include "cru/parse/RecursiveDescentAlgorithm.h"
#include "cru/parse/ParsingAlgorithmContext.h"
#include "cru/parse/RecursiveDescentAlgorithmContext.h"
namespace cru::parse {
bool RecursiveDescentAlgorithm::CanHandle(Grammar *grammar) const {
  CRU_UNUSED(grammar);
  return true;
}
ParsingAlgorithmContext *RecursiveDescentAlgorithm::CreateContext(
    Grammar *grammar) const {
  return new RecursiveDescentAlgorithmContext(grammar, this);
}
}  // namespace cru::parse
 |