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

Method Clear

eval/eval/comprehension_slots.h:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void Clear() {
82 if (has_) {
83 value_ = cel::NullValue();
84 attribute_ = absl::nullopt;
85 has_ = false;
86 }
87 }
88
89 private:
90 cel::Value value_;

Callers 2

ResetMethod · 0.45
ClearSlotMethod · 0.45

Calls 1

NullValueClass · 0.50

Tested by

no test coverage detected