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

Method FindAlias

common/container.cc:140–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140absl::string_view ExpressionContainer::FindAlias(
141 absl::string_view alias) const {
142 auto it = aliases_.find(alias);
143 if (it != aliases_.end()) {
144 return it->second;
145 }
146 return "";
147}
148
149std::vector<std::string> ExpressionContainer::ListAbbreviations() const {
150 std::vector<std::string> res;

Callers 2

GenerateCandidatesMethod · 0.80
TESTFunction · 0.80

Calls 1

endMethod · 0.45

Tested by 1

TESTFunction · 0.64