(
env: &mut Environment,
expr: &ContainsExpr,
titles: &[String],
object: &Vec<Box<dyn Value>>,
)
| 389 | } |
| 390 | |
| 391 | fn evaluate_contains( |
| 392 | env: &mut Environment, |
| 393 | expr: &ContainsExpr, |
| 394 | titles: &[String], |
| 395 | object: &Vec<Box<dyn Value>>, |
| 396 | ) -> Result<Box<dyn Value>, String> { |
| 397 | let lhs = evaluate_expression(env, &expr.left, titles, object)?; |
| 398 | let rhs = evaluate_expression(env, &expr.right, titles, object)?; |
| 399 | lhs.contains_op(&rhs) |
| 400 | } |
| 401 | |
| 402 | fn evaluate_contained_by( |
| 403 | env: &mut Environment, |
no test coverage detected
searching dependent graphs…