SOLA
Loading...
Searching...
No Matches
find_query_parser.h
1// Copyright The SOLA Contributors
2//
3// Licensed under the MIT License.
4// For details on the licensing terms, see the LICENSE file.
5// SPDX-License-Identifier: MIT
6
7#ifndef ALGORITHMS_ESEARCH_FIND_QUERY_PARSER_H_
8#define ALGORITHMS_ESEARCH_FIND_QUERY_PARSER_H_
9
10#include <memory>
11
12#include "minhton/algorithms/esearch/find_query.h"
13#include "peglib/peglib.h"
14
15namespace minhton {
16
18public:
20
21 std::shared_ptr<BooleanExpression> parseBooleanExpression(const std::string &expr_string);
22
23private:
24 peg::parser boolean_expression_parser_;
25
26 void initBooleanExpressionParser();
27};
28
29} // namespace minhton
30
31#endif
Definition find_query_parser.h:17
Definition minhton_watchdog_ns3.cpp:24