Previous: Completed and expected symbol instances, Up: Event coincidence of symbol instances [Contents][Index]
The one case where a single symbol instance can trigger
events of two different types at the same parse location is
that of the MARPA_EVENT_SYMBOL_PREDICTED
and MARPA_EVENT_SYMBOL_EXPECTED
events.
That is,
j
is a parse location;
sym
is the postdot symbol in an
Earley item in the Earley set at j
;
sym
is a terminal; and
then both a
MARPA_EVENT_SYMBOL_PREDICTED
and a MARPA_EVENT_SYMBOL_EXPECTED
event
will trigger at location start
.