forked from cel-expr/cel-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunction_step.h
More file actions
34 lines (27 loc) · 1.03 KB
/
Copy pathfunction_step.h
File metadata and controls
34 lines (27 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef THIRD_PARTY_CEL_CPP_EVAL_EVAL_FUNCTION_STEP_H_
#define THIRD_PARTY_CEL_CPP_EVAL_EVAL_FUNCTION_STEP_H_
#include <stdint.h>
#include <memory>
#include "google/api/expr/v1alpha1/syntax.pb.h"
#include "eval/eval/evaluator_core.h"
#include "eval/eval/expression_build_warning.h"
#include "eval/public/activation.h"
#include "eval/public/cel_function.h"
#include "eval/public/cel_function_registry.h"
#include "eval/public/cel_value.h"
#include "absl/status/statusor.h"
namespace google {
namespace api {
namespace expr {
namespace runtime {
// Factory method for Call - based Execution step
// Looks up function registry using data provided through Call parameter.
absl::StatusOr<std::unique_ptr<ExpressionStep>> CreateFunctionStep(
const google::api::expr::v1alpha1::Expr::Call* call, int64_t expr_id,
const CelFunctionRegistry& function_registry,
BuilderWarnings* builder_warnings);
} // namespace runtime
} // namespace expr
} // namespace api
} // namespace google
#endif // THIRD_PARTY_CEL_CPP_EVAL_EVAL_FUNCTION_STEP_H_