 The states and transitions give all the needed information for the parse table's shift actions and goto actions.The generator also needs to calculate the expected lookahead sets for each reduce action.In SLR parsers, these lookahead sets are determined directly from the grammar, without considering the individual states and transitions.