static public AssignAction restoreSideeffectXml(XmlPullParser parser, ParamListStandard res)
			throws XmlParseException {
		AssignAction action;
		XmlElement elemId = parser.peek();
		String nm = elemId.getName();

		if (nm.equals(ELEM_CONSUME_EXTRA.name())) {
			action = new ConsumeExtra(res);
		}
		else if (nm.equals(ELEM_EXTRA_STACK.name())) {
			action = new ExtraStack(res, 0);
		}
		else {
			throw new XmlParseException("Unknown model rule sideeffect: " + nm);
		}
		action.restoreXml(parser);
		return action;
	}
Read the next sideeffect element from the stream and return the new configured
AssignAction object.  If the next element is not a sideeffect, throw an exception.
@param parser is the stream parser
@param res is the resource set for the new sideeffect
@return the new sideeffect
@throws XmlParseException for problems parsing the stream
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/AssignAction.java