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