Function moore_vhdl_syntax::parser::rules::parse_component_decl [−][src]
pub fn parse_component_decl<P: Parser>(p: &mut P) -> ReportedResult<CompDecl>
Expand description
Parse a component declaration. See IEEE 1076-2008 section 6.8.
component_decl :=
"component" ident ["is"]
[generic_clause]
[port_clause]
"end" ["component"] [ident] ";"