try_label

Function try_label 

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

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.