(env *cel.Env, id string, t *envlib.TypeDesc)
| 127 | } |
| 128 | |
| 129 | func makeParamVar(env *cel.Env, id string, t *envlib.TypeDesc) (*decls.VariableDecl, error) { |
| 130 | rt, err := t.AsCELType(env.CELTypeProvider()) |
| 131 | if err != nil { |
| 132 | return nil, err |
| 133 | } |
| 134 | return decls.NewVariable(id, rt), nil |
| 135 | } |
| 136 | |
| 137 | func (l *letFunction) updateImpl(env *cel.Env) error { |
| 138 | // declaration but no binding. |
no test coverage detected