public void addParseListener(ParseTreeListener listener) {if (listener == null) {throw new NullPointerException("listener");}if (_parseListeners == null) {_parseListeners = new ArrayList<ParseTreeListener>();}this._parseListeners.add(listener);}

public void addParseListener ( ParseTreeListener listener ) { if ( listener == null ) { throw new NullPointerException ( "listener" ) ; } if ( _parseListeners == null ) { _parseListeners = new ArrayList < ParseTreeListener > ( ) ; } this . _parseListeners . add ( listener ) ; }
public virtual void AddParseListener(IParseTreeListener listener){if (listener == null){throw new ArgumentNullException("listener");}if (_parseListeners == null){_parseListeners = new List<IParseTreeListener>();}this._parseListeners.Add(listener);}
