pub fn parse(input: &mut Input<'_>) -> PResult<Event>Expand description
Parse an Event — the LHS of a process prefix.
Dispatches on syntactic shape: irq?N / irq!N → Event::IEVENT;
c?x / c!e / c? / c! → Event::CMEvent; name.x.y → Event::CPEvent.
Sub-process calls (Name(args)) are handled by process.rs — they
are a process-level concept with deliberately distinct syntax.