Searched refs:getExpected (Results 1 – 9 of 9) sorted by relevance
67 if (ctx.getExpected() && *ctx.getExpected() != type::Value) { in parse()68 outputType = ctx.getExpected(); in parse()
83 ctx.getExpected() && in parse()84 ctx.getExpected()->template is<type::Array>() && in parse()88 auto expected = ctx.getExpected()->template get<type::Array>(); in parse()
59 type::Type inputType = type::Array(ctx.getExpected() ? *ctx.getExpected() : type::Value); in parse()
105 if (ctx.getExpected() && *ctx.getExpected() != type::Value) { in parse()106 outputType = ctx.getExpected(); in parse()
159 if (ctx.getExpected() && *ctx.getExpected() != type::Value) { in parseInterpolate()160 outputType = ctx.getExpected(); in parseInterpolate()
243 if (ctx.getExpected() && *ctx.getExpected() != type::Value) { in parseMatch()244 outputType = ctx.getExpected(); in parseMatch()
51 optional<type::Type> expectedType = ctx.getExpected(); in parse()
60 …ParseResult result_ = ctx.parse(arrayMember(value, length - 1), length - 1, ctx.getExpected(), bin… in parse()
68 optional<type::Type> getExpected() const { return expected; } in getExpected() function in mbgl::style::expression::ParsingContext