MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / set_missing_attribute_patterns

Method set_missing_attribute_patterns

eval/public/activation.h:80–83  ·  view source on GitHub ↗

Set missing attribute patterns for evaluation. If a field access is found to match any of the provided patterns, the result is treated as a missing attribute error.

Source from the content-addressed store, hash-verified

78 // If a field access is found to match any of the provided patterns, the
79 // result is treated as a missing attribute error.
80 void set_missing_attribute_patterns(
81 std::vector<CelAttributePattern> missing_attribute_patterns) {
82 missing_attribute_patterns_ = std::move(missing_attribute_patterns);
83 }
84
85 const std::vector<CelAttributePattern>& missing_attribute_patterns()
86 const override {

Callers 4

TESTFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
TEST_PFunction · 0.80

Calls

no outgoing calls

Tested by 4

TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TEST_PFunction · 0.64