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

Method addPath

checker/cost.go:895–897  ·  view source on GitHub ↗
(e ast.Expr, path []string)

Source from the content-addressed store, hash-verified

893}
894
895func (c *coster) addPath(e ast.Expr, path []string) {
896 c.exprPaths[e.ID()] = path
897}
898
899func isAccumulatorVar(name string) bool {
900 return name == parser.AccumulatorName || name == parser.HiddenAccumulatorName

Callers 3

costIdentMethod · 0.95
costSelectMethod · 0.95
costCallMethod · 0.95

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected