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

Method peekLocalVar

checker/cost.go:456–458  ·  view source on GitHub ↗
(varName string)

Source from the content-addressed store, hash-verified

454}
455
456func (c *coster) peekLocalVar(varName string) (*localVar, bool) {
457 return c.localVars.peek(varName)
458}
459
460func (c *coster) popLocalVar(varName string) {
461 c.localVars.pop(varName)

Callers 4

costIdentMethod · 0.95
getPathMethod · 0.95
computeSizeMethod · 0.95
computeEntrySizeMethod · 0.95

Calls 1

peekMethod · 0.80

Tested by

no test coverage detected