Next: , Previous: , Up: Events   [Contents][Index]


25.11 Nulled subtrees and events

As mentioned above (see Nullability in the valuator), nulled subforests are, for evaluation purposes, pruned back to their topmost symbol. This is not the case for events. Events for every nulled symbol in the subforest will trigger, even if these symbols are pruned in the evaluation phase. More precisely, if

then a MARPA_EVENT_SYMBOL_NULLED for symbol Y will trigger at parse location j.