public void removeParseListener(ParseTreeListener listener) {if (_parseListeners != null) {if (_parseListeners.remove(listener)) {if (_parseListeners.isEmpty()) {_parseListeners = null;}}}}
public virtual void RemoveParseListener(IParseTreeListener listener){if (_parseListeners != null){if (_parseListeners.Remove(listener)){if (_parseListeners.Count == 0){_parseListeners = null;}}}}