(token: &str)
| 115 | |
| 116 | impl Element { |
| 117 | fn parse_operator(token: &str) -> Option<Self> { |
| 118 | match token { |
| 119 | "&&" => Some(Self::And), |
| 120 | "||" => Some(Self::Or), |
| 121 | _ => None, |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | fn is_operator(token: &str) -> bool { |
| 126 | Self::parse_operator(token).is_some() |
nothing calls this directly
no outgoing calls
no test coverage detected