Skip to main content

Module event

Module event 

Source
Expand description

Parser for Fiducia events.

An event is one atomic step in a process — what appears on the left of -> in a CSP-style prefix. See crate::ast::event for the AST node documentation.

Functions§

parse
Parse an Event — the LHS of a process prefix.
parse_evt_decl
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.