MCPcopy Create free account
hub / github.com/catboost/catboost / IExpressionImpl

Class IExpressionImpl

library/cpp/expression/expression.h:173–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171using TExpressionRegexMatcher = std::function<bool(TStringBuf str, TStringBuf rx)>;
172
173class IExpressionImpl {
174public:
175 IExpressionImpl();
176 virtual ~IExpressionImpl();
177 virtual TString CalcExpressionStr(const IExpressionAdaptor& iadapter) const = 0;
178 virtual double CalcExpression(const IExpressionAdaptor& iadapter) const = 0;
179 virtual void GetTokensWithSuffix(const TString& suffix, TVector<TString>& tokens) const = 0;
180 virtual void GetTokensWithPrefix(const TString& prefix, TVector<TString>& tokens) const = 0;
181 virtual void SetRegexMatcher(TExpressionRegexMatcher&& matcher) = 0;
182};
183
184class TExpression {
185private:

Callers 1

expression.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected