func getGotoRowData(itemSet *items.ItemSet, sym *symbols.Symbols) []gotoRowElement { row := make([]gotoRowElement, sym.NumNTSymbols()) for i, nt := range sym.NTList() { row[i].NT = nt row[i].State = itemSet.NextSetIndex(nt) } return row }