(token: &str)
| 227 | |
| 228 | impl Element { |
| 229 | fn parse_operator(token: &str) -> Option<Self> { |
| 230 | match token { |
| 231 | "|" => Some(Self::Pipe), |
| 232 | "&&" => Some(Self::And), |
| 233 | "||" => Some(Self::Or), |
| 234 | _ => None, |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | fn is_operator(token: &str) -> bool { |
| 239 | Self::parse_operator(token).is_some() |
nothing calls this directly
no outgoing calls
no test coverage detected