Function parse_generate_body

Source
pub fn parse_generate_body<P: Parser, T>(
    p: &mut P,
    label: Option<Spanned<Name>>,
    term: T,
) -> ReportedResult<GenBody>
where T: Predicate<P>,
Expand description

Parse a generate body. See IEEE 1076-2008 section 11.8.

[{decl_item}+ "begin"] {stmt} ["end" [ident] ";"]