use space1;
use crate::;
/// An event
///
/// # Example
/// ```
/// # use beancount_parser_2::DirectiveContent;
/// let input = r#"2023-05-31 event "Location" "Switzerland""#;
/// let beancount = beancount_parser_2::parse::<f64>(input).unwrap();
/// let DirectiveContent::Event(ref event) = beancount.directives[0].content else { unreachable!() };
/// assert_eq!(event.name, "Location");
/// assert_eq!(event.value, "Switzerland");
/// ```
pub