6#ifndef EXPR_EVALUATOR_H
7#define EXPR_EVALUATOR_H
10#include <nlohmann/json_fwd.hpp>
28 static bool eval(
const std::string& expr,
const nlohmann::json& vars = {});
#define MANTISBASE_API
Definition export.h:31
Struct instance for handling evaluation of database access rules.
Definition expr_evaluator.h:20
static bool eval(const std::string &expr, const nlohmann::json &vars={})
Evaluates a given expression in a context of the given TokenMap variables.
Definition expr_evaluator.cpp:8
Core type aliases, handler signatures, and the MbAppMixin DI mixin.
Collection of utility functions that are re-used across different files.