MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / operator[]

Method operator[]

eval/public/structs/cel_proto_wrap_util.cc:703–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701};
702
703CelValue DynamicList::operator[](int index) const {
704 return ValueManager(factory_, arena_)
705 .ValueFromMessage(&values_->values(index));
706}
707
708absl::optional<CelValue> DynamicMap::operator[](CelValue key) const {
709 CelValue::StringHolder str_key;

Callers

nothing calls this directly

Calls 7

ValueManagerClass · 0.85
CreateErrorValueFunction · 0.85
ValueFromMessageMethod · 0.80
typeMethod · 0.80
GetValueMethod · 0.45
valueMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected