public void setTokenSource(TokenSource tokenSource) {this.tokenSource = tokenSource;tokens.clear();p = -1;fetchedEOF = false;}

public virtual void SetTokenSource(ITokenSource tokenSource){this._tokenSource = tokenSource;tokens.Clear();p = -1;this.fetchedEOF = false;}
