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

pub fn try_label<P: Parser>(p: &mut P) -> Option<Spanned<Name>>

Parse an optional label, which basically is just an identifier followed by a colon. This is interesting for statement parsing. See IEEE 1076-2008 section 10.