[−][src]Function moore_vhdl_syntax::parser::rules::parse_object_decl
pub fn parse_object_decl<P: Parser>(p: &mut P) -> ReportedResult<ObjDecl>
Parse a constant, signal, variable, or file declaration. See IEEE 1076-2008 section 6.4.2.
object_decl := object_kind {ident}","+ ":" subtype_ind [object_details] [":=" expr] ";"
object_kind
:= "constant"
:= "signal"
:= "variable"
:= "shared" "variable"
:= "file"
object_details
:= "register"
:= "bus"
:= ["open" expr] "is" expr