5#ifndef TRIGCONF_LOGICPARSER_H
6#define TRIGCONF_LOGICPARSER_H
62 std::shared_ptr<TrigConf::Logic>
parse(
const std::string &);
65 std::vector<std::string>
tokenize(
const std::string & expr)
const;
67 std::unique_ptr<TrigConf::Logic> buildTree(
const std::vector<std::string> & tokExpr)
const;
69 std::unique_ptr<TrigConf::Logic> buildNode(
const std::vector<std::string> & tokExpr,
size_t front,
size_t back)
const;
71 std::unique_ptr<TrigConf::Logic> findSubExpr(
const std::vector<std::string> & tokExpr,
size_t & front,
size_t back)
const;
std::vector< std::string > tokenize(const std::string &the_str, std::string_view delimiters)
Splits the string into smaller substrings.
Forward iterator to traverse the main components of the trigger configuration.