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

Function trackCostCreateStruct

interpreter/interpretable.go:2203–2207  ·  view source on GitHub ↗
(frame *ExecutionFrame, id int64, res ref.Val)

Source from the content-addressed store, hash-verified

2201}
2202
2203func trackCostCreateStruct(frame *ExecutionFrame, id int64, res ref.Val) {
2204 if costs := frame.CostTracker(); costs != nil {
2205 costs.CreateStruct(id, res)
2206 }
2207}
2208
2209func trackCostQualify(frame *ExecutionFrame, id int64) {
2210 if costs := frame.CostTracker(); costs != nil {

Callers 1

ExecMethod · 0.85

Calls 2

CostTrackerMethod · 0.80
CreateStructMethod · 0.80

Tested by

no test coverage detected