MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / operator()

Method operator()

base/attribute.cc:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 : output_(*output), type_(type) {}
41
42 absl::Status operator()(const Kind& ignored) const {
43 // Attributes are represented as a variant, with illegal attribute
44 // qualifiers represented with their type as the first alternative.
45 return absl::InvalidArgumentError(
46 absl::StrCat("Unsupported attribute qualifier ", KindToString(type_)));
47 }
48
49 absl::Status operator()(int64_t index) {
50 absl::StrAppend(&output_, "[", index, "]");

Callers

nothing calls this directly

Calls 1

KindToStringFunction · 0.50

Tested by

no test coverage detected