SOLA
Loading...
Searching...
No Matches
minhton
include
minhton
algorithms
esearch
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
15
namespace
minhton
{
16
17
class
FindQueryParser
{
18
public
:
19
FindQueryParser
();
20
21
std::shared_ptr<BooleanExpression> parseBooleanExpression(
const
std::string &expr_string);
22
23
private
:
24
peg::parser boolean_expression_parser_;
25
26
void
initBooleanExpressionParser();
27
};
28
29
}
// namespace minhton
30
31
#endif
minhton::FindQueryParser
Definition
find_query_parser.h:17
minhton
Definition
minhton_watchdog_ns3.cpp:24
Generated by
1.9.8