private	void insertShiftActions(LALR1DFA dfa)
	{
		// For every transition in the DFA:
		for(LALR1State state : dfa.getStates()) for(LALR1Transition transition : dfa.getTransitions(state))
		{
			// If the label is a terminal, add a shift action to the table.
			if(transition.getLabel() instanceof Terminal &&
			   isWanted((Terminal) transition.getLabel()))
			{
				parseTable.addAction(dfa.getLabel(transition.getSrc()),
						             (Terminal) transition.getLabel(),
						             new ShiftAction(dfa.getLabel(transition.getDest())));
			}
			// If the label is a nonterminal, add a goto action to the table.
			else if(transition.getLabel() instanceof NonTerminal &&
				   isWanted((NonTerminal) transition.getLabel()))
			{
				parseTable.addGotoAction(dfa.getLabel(transition.getSrc()),
						                 (NonTerminal) transition.getLabel(),
						                 new ShiftAction(dfa.getLabel(transition.getDest())));
			}
		}		
	}