protected virtual void Fetch(int n) { for (int i = 0; i < n; i++) { IToken t = TokenSource.NextToken(); t.TokenIndex = _tokens.Count; _tokens.Add(t); if (t.Type == CharStreamConstants.EndOfFile) break; } }