#pragma once #include #include #include namespace mbgl { namespace style { namespace expression { class In final : public Expression { public: In(std::unique_ptr needle_, std::unique_ptr haystack_); static ParseResult parse(const mbgl::style::conversion::Convertible& value, ParsingContext& ctx); EvaluationResult evaluate(const EvaluationContext& params) const override; void eachChild(const std::function&) const override; bool operator==(const Expression& e) const override; std::vector> possibleOutputs() const override; std::string getOperator() const override; private: std::unique_ptr needle; std::unique_ptr haystack; }; } // namespace expression } // namespace style } // namespace mbgl