Function moore_vhdl_syntax::parser::rules::parse_entity_decl [−][src]
pub fn parse_entity_decl<P: Parser>(p: &mut P) -> ReportedResult<EntityDecl>
Expand description
Parse an entity declaration. See IEEE 1076-2008 section 3.2.
entity_decl := "entity" ident "is" entity_header entity_decl_part ["begin" {stmt}] "end" ["entity"] [ident] ";"