Overload for test usages.
| 161 | public: |
| 162 | // Overload for test usages. |
| 163 | ExecutionFrameBase(const cel::ActivationInterface& activation, |
| 164 | const cel::RuntimeOptions& options, |
| 165 | const cel::TypeProvider& type_provider, |
| 166 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 167 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 168 | google::protobuf::Arena* absl_nonnull arena) |
| 169 | : activation_(&activation), |
| 170 | callback_(), |
| 171 | options_(&options), |
| 172 | type_provider_(type_provider), |
| 173 | descriptor_pool_(descriptor_pool), |
| 174 | message_factory_(message_factory), |
| 175 | arena_(arena), |
| 176 | embedder_context_(nullptr), |
| 177 | attribute_utility_(activation.GetUnknownAttributes(), |
| 178 | activation.GetMissingAttributes()), |
| 179 | slots_(&ComprehensionSlots::GetEmptyInstance()), |
| 180 | max_iterations_(options.comprehension_max_iterations), |
| 181 | iterations_(0) { |
| 182 | if (unknown_processing_enabled()) { |
| 183 | if (auto matcher = cel::runtime_internal:: |
| 184 | ActivationAttributeMatcherAccess::GetAttributeMatcher(activation); |
| 185 | matcher != nullptr) { |
| 186 | attribute_utility_.set_matcher(matcher); |
| 187 | } |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | ExecutionFrameBase(const cel::ActivationInterface& activation, |
| 192 | EvaluationListener callback, |
nothing calls this directly
no test coverage detected