pub fn parse_field(
    par: &mut Parser<'_>,
    attributes: Vec<Node<SmolStr>>,
    pub_qual: Option<Span>,
    const_qual: Option<Span>
) -> ParseResult<Node<Field>>
Expand description

Parse a field for a struct or contract. The leading optional pub and const qualifiers must be parsed by the caller, and passed in.