(token: &str)
| 192 | |
| 193 | impl Element { |
| 194 | fn parse_operator(token: &str) -> Option<Self> { |
| 195 | match token { |
| 196 | "&&" => Some(Self::And), |
| 197 | "||" => Some(Self::Or), |
| 198 | _ => None, |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | fn is_operator(token: &str) -> bool { |
| 203 | Self::parse_operator(token).is_some() |
nothing calls this directly
no outgoing calls
no test coverage detected