triggerEnterRuleEvent method

void triggerEnterRuleEvent()
inherited

Notify any parse listeners of an enter rule event.

@see #addParseListener

Implementation

void triggerEnterRuleEvent() {
  if (_parseListeners == null) return;
  for (var listener in _parseListeners!) {
    listener.enterEveryRule(context!);
    context!.enterRule(listener);
  }
}