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


25.9 Tentative events

Recognizer per-symbol events are tentative. The symbol instance that triggers them may not actually occur in the parse.

Right of the location of the event, Libmarpa is totally unaware of what the actual input will be — there is no "lookahead". Therefore, if end location of the symbol instance for the event is after the triggering parse location, the symbol instance will reflect a possible input, usually one of many possible inputs. Of these possible outputs, only one will become the actual output, and that only if the parse is allowed to run that far.