public Token Next(List<Token> list) { int index = Index(list); if (index >= list.Count - 1) return new Token(TokenType.EOF, "", new List<Index>()); return list[index + 1]; }