MCPcopy Create free account
hub / github.com/cel-expr/cel-go / parentVisitor

Struct parentVisitor

tools/celtest/test_runner.go:1113–1116  ·  view source on GitHub ↗

parentVisitor is a visitor that populates the coverageStats of a given expression based on the coverageStats of its direct children.

Source from the content-addressed store, hash-verified

1111// parentVisitor is a visitor that populates the coverageStats of a given expression based on the
1112// coverageStats of its direct children.
1113type parentVisitor struct {
1114 coverageStats map[int64]set
1115 evalState interpreter.EvalState
1116}
1117
1118// VisitExpr populates the coverageStats for the current expression based on the coverageStats of its direct children.
1119func (pv parentVisitor) VisitExpr(e ast.Expr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected