diff options
author | crupest <crupest@outlook.com> | 2021-12-15 21:11:26 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-12-15 21:11:26 +0800 |
commit | 360a3bdbc9cf7084d9f1f1af09ea99831edffd34 (patch) | |
tree | 616f684c1602b1aba55f9427106b34cbc727f5e2 /src/parse/ParsingContext.cpp | |
parent | fa3794469430b4ddfe0b0ca62850e9911c99b558 (diff) | |
download | cru-360a3bdbc9cf7084d9f1f1af09ea99831edffd34.tar.gz cru-360a3bdbc9cf7084d9f1f1af09ea99831edffd34.tar.bz2 cru-360a3bdbc9cf7084d9f1f1af09ea99831edffd34.zip |
...
Diffstat (limited to 'src/parse/ParsingContext.cpp')
-rw-r--r-- | src/parse/ParsingContext.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/parse/ParsingContext.cpp b/src/parse/ParsingContext.cpp new file mode 100644 index 00000000..aafaa65b --- /dev/null +++ b/src/parse/ParsingContext.cpp @@ -0,0 +1,13 @@ +#include "cru/parse/ParsingContext.hpp" +#include "cru/parse/ParsingAlgorithmContext.hpp" + +namespace cru::parse { +ParsingContext::ParsingContext( + ParsingAlgorithmContext* parsing_algorithm_context, + std::vector<Terminal*> input) + : parsing_algorithm_context_(parsing_algorithm_context), + input_(std::move(input)) {} + +ParsingContext::~ParsingContext() {} + +} // namespace cru::parse |