code: private final void shift(ParserAction action) {
  	stateStack.push(action.getParameter());
  	actionStack.add(action);
  	streamPosition++;
  	shiftIgnoredTokens();
      }
docs: This method is called for shift actions.
  
  @param newState
  is the new state id after shift.
  @param token
  is the current token in token stream.
  @throws ParserException