Parse an action type.