1 | #pragma once |
---|---|
2 | |
3 | #include <mbgl/style/expression/parsing_context.hpp> |
4 | #include <mbgl/style/expression/interpolate.hpp> |
5 | #include <mbgl/style/expression/step.hpp> |
6 | |
7 | #include <mbgl/util/variant.hpp> |
8 | #include <mbgl/util/optional.hpp> |
9 | |
10 | namespace mbgl { |
11 | namespace style { |
12 | namespace expression { |
13 | |
14 | optional<variant<const Interpolate*, const Step*, ParsingError>> findZoomCurve(const expression::Expression* e); |
15 | |
16 | variant<std::nullptr_t, const Interpolate*, const Step*> findZoomCurveChecked(const expression::Expression* e); |
17 | |
18 | } // namespace expression |
19 | } // namespace style |
20 | } // namespace mbgl |
21 |