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

Method visitUnary

parser/parser.cc:981–984  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

979}
980
981std::any ParserVisitor::visitUnary(CelParser::UnaryContext* ctx) {
982 return ExprToAny(factory_.NewStringConst(
983 factory_.NextId(SourceRangeFromParserRuleContext(ctx)), "<<error>>"));
984}
985
986std::any ParserVisitor::visitLogicalNot(CelParser::LogicalNotContext* ctx) {
987 if (ctx->ops.size() % 2 == 0) {

Callers

nothing calls this directly

Calls 4

ExprToAnyFunction · 0.85
NewStringConstMethod · 0.45
NextIdMethod · 0.45

Tested by

no test coverage detected