Function parse_yes_or_no_with_reason

Source
pub(crate) fn parse_yes_or_no_with_reason(
    cx: &mut ParseCtxt<'_>,
) -> ParseResult<bool>
Expand description
  yes ⟨ , reason = ⟨literal⟩ ⟩?
| no ⟨ , reason = ⟨literal⟩ ⟩?
| reason = ⟨literal⟩