[][src]Function moore_vhdl_syntax::parser::rules::parse_context_decl

pub fn parse_context_decl<P: Parser>(p: &mut P) -> ReportedResult<CtxDecl>

Parse a context declaration. IEEE 1076-2008 section 13.3.

context_decl :=
  "context" ident "is"
    {context_item}
  "end" ["context"] [ident] ";"