(sctx *super.Context, lhs, rhs Evaluator)
| 58 | } |
| 59 | |
| 60 | func NewLogicalOr(sctx *super.Context, lhs, rhs Evaluator) *Or { |
| 61 | return &Or{sctx, lhs, rhs} |
| 62 | } |
| 63 | |
| 64 | // EvalBool evaluates e with this and returns the result if it is a bool or error. |
| 65 | // Otherwise, EvalBool returns an error. |