github.com/MontFerret/ferret@v0.18.0/pkg/runtime/core/predicate.go (about)

     1  package core
     2  
     3  import "context"
     4  
     5  type Predicate interface {
     6  	Expression
     7  	Eval(ctx context.Context, left, right Value) (Value, error)
     8  }