triggerExitRuleEvent method

void triggerExitRuleEvent()
inherited

Notify any parse listeners of an exit rule event.

@see #addParseListener

Implementation

void triggerExitRuleEvent() {
  if (_parseListeners == null) return;
  // reverse order walk of listeners
  for (var i = _parseListeners!.length - 1; i >= 0; i--) {
    final listener = _parseListeners![i];
    context!.exitRule(listener);
    listener.exitEveryRule(context!);
  }
}