public void setInputStream(IntStream input) {this._input = null;this._tokenFactorySourcePair = new Pair<TokenSource, CharStream>(this, _input);reset();this._input = (CharStream)input;this._tokenFactorySourcePair = new Pair<TokenSource, CharStream>(this, _input);}
public virtual void SetInputStream(ICharStream input){this._input = null;this._tokenFactorySourcePair = Tuple.Create((ITokenSource)this, _input);Reset();this._input = input;this._tokenFactorySourcePair = Tuple.Create((ITokenSource)this, _input);}