Bump cel-go to v0.10.1
This commit is contained in:
7
vendor/github.com/google/cel-go/interpreter/interpreter.go
generated
vendored
7
vendor/github.com/google/cel-go/interpreter/interpreter.go
generated
vendored
@@ -101,8 +101,6 @@ func EvalStateObserver(state EvalState) EvalObserver {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Replace all usages of ExhaustiveEval with ExhaustiveEvalWrapper
|
||||
|
||||
// ExhaustiveEval replaces operations that short-circuit with versions that evaluate
|
||||
// expressions and couples this behavior with the TrackState() decorator to provide
|
||||
// insight into the evaluation state of the entire expression. EvalState must be
|
||||
@@ -115,6 +113,11 @@ func ExhaustiveEval() InterpretableDecorator {
|
||||
}
|
||||
}
|
||||
|
||||
// InterruptableEval annotates comprehension loops with information that indicates they
|
||||
// should check the `#interrupted` state within a custom Activation.
|
||||
//
|
||||
// The custom activation is currently managed higher up in the stack within the 'cel' package
|
||||
// and should not require any custom support on behalf of callers.
|
||||
func InterruptableEval() InterpretableDecorator {
|
||||
return decInterruptFolds()
|
||||
}
|
||||
|
Reference in New Issue
Block a user