Lines Matching refs:shift
158 (* shifts: compute the core sets that result from shift/gotoing on
164 (2) then add the shift/gotos on kernal items.
166 We can do (1) the following way. Keep a table which for each shift/goto
170 item list in sorted order for each possible shift symbol. Scan the nonterminal
171 list from back to front. For each nonterminal, prepend the shift/goto list
172 for each shift symbol to the list already in the table.
174 We end up with the list of items in correct order for each shift/goto
182 (* mergeShiftItems: add an item list for a shift/goto symbol to the table *)
190 kept these items sorted by their shift/goto symbol (the first symbol on
201 (* now create a table which for each shift/goto symbol gives the sorted list
203 and then sorting them by the shift/goto symbols *)