Returns `true` when `line` (trimmed, without trailing `;`) looks like an output statement.
(line: &str)
| 619 | /// Returns `true` when `line` (trimmed, without trailing `;`) looks |
| 620 | /// like an output statement. |
| 621 | fn is_output_line(line: &str) -> bool { |
| 622 | OUTPUT_PREFIXES.iter().any(|p| line.starts_with(p)) |
| 623 | } |
| 624 | |
| 625 | /// Check whether every statement in the body is a pure output statement |
| 626 | /// (`echo`, `print`, `printf`, `var_dump`, `print_r`, `var_export`). |
no test coverage detected