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
10namespace mbgl {
11namespace style {
12namespace expression {
13
14optional<variant<const Interpolate*, const Step*, ParsingError>> findZoomCurve(const expression::Expression* e);
15
16variant<std::nullptr_t, const Interpolate*, const Step*> findZoomCurveChecked(const expression::Expression* e);
17
18} // namespace expression
19} // namespace style
20} // namespace mbgl
21

source code of qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/style/expression/find_zoom_curve.hpp