Returns true if this mode makes the node queryable (has a visit_self call)
(&self)
| 27 | impl VisitMode { |
| 28 | /// Returns true if this mode makes the node queryable (has a visit_self call) |
| 29 | pub fn is_queryable(&self) -> bool { |
| 30 | matches!(self, VisitMode::Self_ | VisitMode::All | VisitMode::Manual) |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] |
no outgoing calls
no test coverage detected