Skip to main content

parse_evt_decl

Function parse_evt_decl 

Source
pub fn parse_evt_decl(input: &mut Input<'_>) -> PResult<EvtDecl>
Expand description

Parse a computation-event declaration: 'evt' ident carriers? ':' body, the body one statement or '{' stmt* '}'. Either way it ends where it says, so a declaration after it is never read as part of it.